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

a2ps.spec

index 8c3f274a59e64b62b36eb676cb08288200888de0..3e0acb1cf66187e55f09e39668dee022ff74984d 100644 (file)
--- a/a2ps.spec
+++ b/a2ps.spec
@@ -116,11 +116,11 @@ install i18n-fonts-0.1/fonts/*.pfb %{buildroot}%{_datadir}/a2ps/fonts
 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
 /sbin/ldconfig
 
 %postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%fix_info_dir
 /sbin/ldconfig
 
 %files -f %{name}.lang
This page took 0.13111 seconds and 4 git commands to generate.