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

glen glen at pld-linux.org
Thu Jun 1 01:54:19 CEST 2006


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

---- Files affected:
SPECS:
   grep.spec (1.92 -> 1.93) 

---- Diffs:

================================================================
Index: SPECS/grep.spec
diff -u SPECS/grep.spec:1.92 SPECS/grep.spec:1.93
--- SPECS/grep.spec:1.92	Sun Dec  4 23:58:06 2005
+++ SPECS/grep.spec	Thu Jun  1 01:54:14 2006
@@ -15,7 +15,7 @@
 Summary(uk):	őÔÉĚŚÔÉ ĐĎŰŐËŐ ĐĎ ŰÁÂĚĎÎÁÍ GNU grep
 Name:		grep
 Version:	2.5.1a
-Release:	1
+Release:	1.1
 Epoch:		2
 License:	GPL
 Group:		Applications/Text
@@ -137,14 +137,18 @@
 
 %find_lang %{name}
 
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT%{_mandir}/README.grep-non-english-man-pages
+rm -f $RPM_BUILD_ROOT%{_mandir}/ja-grep-nozgrep.diff
+
 %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)
@@ -170,6 +174,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.93  2006/05/31 23:54:14  glen
+- avoid /bin/sh dep just to regenerate (optional!) info dir
+- check-files cleanup
+
 Revision 1.92  2005/12/04 22:58:06  glen
 - adapterized (sorted %verify flags)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/grep.spec?r1=1.92&r2=1.93&f=u



More information about the pld-cvs-commit mailing list