]> git.pld-linux.org Git - packages/cftp.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:42 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need rebuilt rpm (with new macros.pld) to build these

Changed files:
    cftp.spec -> 1.4

cftp.spec

index d9ae02045737f2f64ffe50e6d9d246897894147b..0a01d3aa57101411c507960e84e58294cf11f3cf 100644 (file)
--- a/cftp.spec
+++ b/cftp.spec
@@ -49,10 +49,10 @@ gzip -9nf AUTHORS ChangeLog NEWS THANKS TODO
 rm -rf $RPM_BUILD_ROOT
 
 %post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%fix_info_dir
 
 %postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%fix_info_dir
 
 %files
 %defattr(644,root,root,755)
This page took 0.074502 seconds and 4 git commands to generate.