packages: grub2/grub2.spec - check-files shutup, no extra /bin/sh dep

glen glen at pld-linux.org
Wed Nov 11 15:56:02 CET 2009


Author: glen                         Date: Wed Nov 11 14:56:02 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- check-files shutup, no extra /bin/sh dep

---- Files affected:
packages/grub2:
   grub2.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: packages/grub2/grub2.spec
diff -u packages/grub2/grub2.spec:1.51 packages/grub2/grub2.spec:1.52
--- packages/grub2/grub2.spec:1.51	Tue Nov 10 08:39:20 2009
+++ packages/grub2/grub2.spec	Wed Nov 11 15:55:57 2009
@@ -138,16 +138,17 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	pkgdatadir="%{_datadir}"
 
-install docs/grub.cfg $RPM_BUILD_ROOT%{_datadir}
+cp -a docs/grub.cfg $RPM_BUILD_ROOT%{_datadir}
+rm $RPM_BUILD_ROOT%{_infodir}/dir
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
@@ -209,6 +210,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2009/11/11 14:55:57  glen
+- check-files shutup, no extra /bin/sh dep
+
 Revision 1.51  2009/11/10 07:39:20  arekm
 - up to 1.97.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/grub2/grub2.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list