From: saq Date: Wed, 25 Jul 2001 16:30:41 +0000 (+0000) Subject: - use macros in %{pre,post}{,un} X-Git-Tag: bash-2_05-7~8 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=2fa47b950be56a652bf7c98c070ba5ceb7350543;p=packages%2Fbash.git - use macros in %{pre,post}{,un} - need rebuilt rpm (with new macros.pld) to build these Changed files: bash.spec -> 1.76 --- diff --git a/bash.spec b/bash.spec index 3ccde1e..4249550 100644 --- a/bash.spec +++ b/bash.spec @@ -203,7 +203,7 @@ else fi fi -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%fix_info_dir %post static if [ ! -f /etc/shells ]; then @@ -227,7 +227,7 @@ if [ "$1" = "0" ]; then fi %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