]> git.pld-linux.org Git - packages/ed.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:
    ed.spec -> 1.28

ed.spec

diff --git a/ed.spec b/ed.spec
index eb7717d5bf2a51a742906c7c2019ba7b065eaa6b..e93f0e6645eaaf7834269fd15ecf3d750c60d21a 100644 (file)
--- a/ed.spec
+++ b/ed.spec
@@ -69,10 +69,10 @@ rm -rf $RPM_BUILD_ROOT
 gzip -9nf NEWS POSIX README
 
 %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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.097658 seconds and 4 git commands to generate.