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

ocaml.spec

index 60c606c1751a90ea88e53b826b5dacd0d37bbcb3..8858acc01a6c9c2fd843516dbd2093b35396f946 100644 (file)
@@ -107,10 +107,10 @@ gzip -9nf LICENSE Changes README
 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
This page took 0.158183 seconds and 4 git commands to generate.