|
@@ -6,7 +6,7 @@ Summary(ja): GNU Bourne Again シェル (bash).
|
|
|
|
|
|
Name: bash
|
|
|
Version: %{bashversion}.%{patchlevel}
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Shells
|
|
|
License: GPLv3+
|
|
@@ -250,7 +250,6 @@ popd
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
-
|
|
|
%clean
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
@@ -294,23 +293,6 @@ then
|
|
|
end
|
|
|
f:close()
|
|
|
|
|
|
-%postun -p <lua>
|
|
|
-t={}
|
|
|
-for line in io.lines("/etc/shells")
|
|
|
-do
|
|
|
- if line ~= "/bin/bash" and line ~= "/bin/sh"
|
|
|
- then
|
|
|
- table.insert(t,line)
|
|
|
- end
|
|
|
-end
|
|
|
-
|
|
|
-f = io.open("/etc/shells", "w+")
|
|
|
-for n,line in pairs(t)
|
|
|
-do
|
|
|
- f:write(line.."\n")
|
|
|
-end
|
|
|
-
|
|
|
-
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
%doc CHANGES COPYING
|
|
@@ -335,6 +317,9 @@ end
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Oct 6 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.37-2
|
|
|
+- remove postun lua script because bash will be never uninstalled
|
|
|
+
|
|
|
* Mon Sep 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.37-1
|
|
|
- update to 4.2 patch level 37
|
|
|
|