]> git.pld-linux.org Git - packages/ddd.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:43 +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:
    ddd.spec -> 1.41

ddd.spec

index 742368481728785bfba96394046cb2850222293b..c9ba0297367d09cd3a9b8f812936668c0a145257 100644 (file)
--- a/ddd.spec
+++ b/ddd.spec
@@ -113,10 +113,10 @@ gzip -9nf ANNOUNCE BUGS NEWS* OPENBUGS PROBLEMS README TIPS
 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.0704360000000001 seconds and 4 git commands to generate.