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

autounit.spec

index 7cf7725e77f1c75e028aeeeea4ba03650e3e3639..5d8e0c88ade9d3fcaf36726b057ead17b93796c9 100644 (file)
@@ -40,10 +40,10 @@ rm -rf $RPM_BUILD_ROOT
 gzip -9nf AUTHORS ChangeLog NEWS README
 
 %post
 gzip -9nf AUTHORS ChangeLog NEWS README
 
 %post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%fix_info_dir
 
 %postun
 
 %postun
-[ ! -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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.04587 seconds and 4 git commands to generate.