SPECS: sed.spec - avoid /bin/sh dep just to regenerate (optional!)...

glen glen at pld-linux.org
Thu Jun 1 01:48:39 CEST 2006


Author: glen                         Date: Wed May 31 23:48:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- avoid /bin/sh dep just to regenerate (optional!) info dir
- check-files cleanup

---- Files affected:
SPECS:
   sed.spec (1.73 -> 1.74) 

---- Diffs:

================================================================
Index: SPECS/sed.spec
diff -u SPECS/sed.spec:1.73 SPECS/sed.spec:1.74
--- SPECS/sed.spec:1.73	Sun Feb  5 20:43:25 2006
+++ SPECS/sed.spec	Thu Jun  1 01:48:34 2006
@@ -15,7 +15,7 @@
 Summary(uk):	đĎÔĎËĎ×ÉĘ ŇĹÄÁËÔĎŇ ÔĹËÓÔŐ GNU
 Name:		sed
 Version:	4.1.5
-Release:	1
+Release:	1.2
 License:	GPL
 Group:		Applications/Text
 Source0:	ftp://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.gz
@@ -122,14 +122,17 @@
 
 %find_lang %{name}
 
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT%{_mandir}/README.sed-non-english-man-pages
+
 %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 -f %{name}.lang
 %defattr(644,root,root,755)
@@ -149,6 +152,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.74  2006/05/31 23:48:34  glen
+- avoid /bin/sh dep just to regenerate (optional!) info dir
+- check-files cleanup
+
 Revision 1.73  2006/02/05 19:43:25  qboosh
 - updated to 4.1.5, added pl.po-update patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sed.spec?r1=1.73&r2=1.74&f=u



More information about the pld-cvs-commit mailing list