]> git.pld-linux.org Git - packages/grep.git/commitdiff
- avoid /bin/sh dep just to regenerate (optional!) info dir
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 31 May 2006 23:54:14 +0000 (23:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- check-files cleanup

Changed files:
    grep.spec -> 1.93

grep.spec

index 46bce13906c4651e36c66c6fafb2d39448f95755..91154334e157705e5c23c0074aae4b1f6416b177 100644 (file)
--- a/grep.spec
+++ b/grep.spec
@@ -14,7 +14,7 @@ Summary(tr):  Dosyalarda katar arama arac
 Summary(uk):   õÔÉ̦ÔÉ ÐÏÛÕËÕ ÐÏ ÛÁÂÌÏÎÁÍ GNU grep
 Name:          grep
 Version:       2.5.1a
-Release:       1
+Release:       1.1
 Epoch:         2
 License:       GPL
 Group:         Applications/Text
@@ -136,14 +136,18 @@ EOF
 
 %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)
This page took 0.138992 seconds and 4 git commands to generate.