]> git.pld-linux.org Git - packages/cvs.git/commitdiff
- removed Prereq: /usr/sbin/fix-info-dir
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Mon, 1 May 2000 20:11:40 +0000 (20:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix-info-dir in %pre/post is executed only when info is already
  installed

Changed files:
    cvs.spec -> 1.32

cvs.spec

index b22858c3bc1ab9e48ce3c8d04fa46b9abdc2e3fe..678eb92a7ad128e6290fe0d8abfed617b8706e56 100644 (file)
--- a/cvs.spec
+++ b/cvs.spec
@@ -14,7 +14,6 @@ Patch0:               cvs-tmprace.patch
 Patch1:                cvs-info.patch
 Patch2:                http://www.misiek.eu.org/ipv6/cvs-ipv6-220200.patch.gz
 URL:           http://www.cyclic.com/
-Prereq:                /usr/sbin/fix-info-dir
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -104,10 +103,10 @@ gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/cvs*,%{_mandir}/man{1,5,8}/*} \
        doc/*.ps BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README ChangeLog
 
 %post
-%{_sbindir}/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun
-%{_sbindir}/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.06491 seconds and 4 git commands to generate.