]> git.pld-linux.org Git - packages/vice.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:31:02 +0000 (16:31 +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:
    vice.spec -> 1.8

vice.spec

index f334d1d455c2036c1d7d5ca4a89b6aaceb441eac..6363ab98982bc61939824d8c6ce37da6a15bc395 100644 (file)
--- a/vice.spec
+++ b/vice.spec
@@ -76,10 +76,10 @@ rm -rf $RPM_BUILD_ROOT
 gzip -9nf AUTHORS BUGS Chan* FEEDBACK NEWS README TODO
 
 %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.08088 seconds and 4 git commands to generate.