[packages/guile1: 55/172] - use macros in %{pre,post}{,un} - need rebuilt rpm (with new macros.pld) to build these

jajcus jajcus at pld-linux.org
Sat Dec 12 13:43:24 CET 2015


commit 3998b8f5ea382b8edf3a251275511bfce70d9687
Author: saq <saq at pld-linux.org>
Date:   Wed Jul 25 16:30:45 2001 +0000

    - use macros in %{pre,post}{,un}
    - need rebuilt rpm (with new macros.pld) to build these
    
    Changed files:
        guile.spec -> 1.49

 guile.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/guile.spec b/guile.spec
index 8dba9d3..a11193b 100644
--- a/guile.spec
+++ b/guile.spec
@@ -81,10 +81,10 @@ gzip -9nf AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README
 %postun -p /sbin/ldconfig
 
 %post devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%fix_info_dir
 
 %postun devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%fix_info_dir
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guile1.git/commitdiff/ebe6c26bec9cbe3813afc2be58f989889f8e944a



More information about the pld-cvs-commit mailing list