packages: gcc/gcc.spec - unified rm and info post/postun
qboosh
qboosh at pld-linux.org
Wed Sep 29 08:32:28 CEST 2010
Author: qboosh Date: Wed Sep 29 06:32:28 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- unified rm and info post/postun
---- Files affected:
packages/gcc:
gcc.spec (1.630 -> 1.631)
---- Diffs:
================================================================
Index: packages/gcc/gcc.spec
diff -u packages/gcc/gcc.spec:1.630 packages/gcc/gcc.spec:1.631
--- packages/gcc/gcc.spec:1.630 Wed Sep 29 08:18:15 2010
+++ packages/gcc/gcc.spec Wed Sep 29 08:32:22 2010
@@ -1492,9 +1492,9 @@
%endif
# gdb stuff maybe?
-rm $RPM_BUILD_ROOT%{_libdir}/*.py
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.py
%if %{with multilib}
-rm $RPM_BUILD_ROOT%{_libdir32}/*.py
+%{__rm} $RPM_BUILD_ROOT%{_libdir32}/*.py
%endif
# svn snap doesn't contain (release does) below files,
@@ -1506,28 +1506,28 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/postshell
+%post -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun -p /sbin/postshell
+%postun -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%post ada -p /sbin/postshell
+%post ada -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun ada -p /sbin/postshell
+%postun ada -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%post fortran -p /sbin/postshell
+%post fortran -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun fortran -p /sbin/postshell
+%postun fortran -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%post java -p /sbin/postshell
+%post java -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun java -p /sbin/postshell
+%postun java -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
%post -p /sbin/ldconfig -n libgcc
@@ -2181,6 +2181,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.631 2010/09/29 06:32:22 qboosh
+- unified rm and info post/postun
+
Revision 1.630 2010/09/29 06:18:15 qboosh
- more verbose/unified form of files
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc.spec?r1=1.630&r2=1.631&f=u
More information about the pld-cvs-commit
mailing list