From 222389087522fb792e562640ba053f36239ecd5a Mon Sep 17 00:00:00 2001 From: Grzegorz Sterniczuk Date: Tue, 13 Aug 2002 15:06:21 +0000 Subject: [PATCH] - sed -e "s/%{_sbindir}\/apxs -e/\%{apxs} -e/" Changed files: apache1-mod_accounting.spec -> 1.12 --- apache1-mod_accounting.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache1-mod_accounting.spec b/apache1-mod_accounting.spec index f64c477..a21fdf5 100644 --- a/apache1-mod_accounting.spec +++ b/apache1-mod_accounting.spec @@ -46,7 +46,7 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mod_accounting.conf gzip -9nf README ChangeLog %post -%{_sbindir}/apxs -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2 +%{apxs} -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_accounting.conf" /etc/httpd/httpd.conf; then echo "Include /etc/httpd/mod_accounting.conf" >> /etc/httpd/httpd.conf fi @@ -56,7 +56,7 @@ fi %preun if [ "$1" = "0" ]; then - %{_sbindir}/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2 + %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2 grep -v "^Include.*mod_accounting.conf" /etc/httpd/httpd.conf > \ /etc/httpd/httpd.conf.tmp mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf -- 2.44.0