From b99ac7d182976fb03840e2cc55fe071e046f4950 Mon Sep 17 00:00:00 2001 From: ankry Date: Wed, 10 Sep 2003 11:01:51 +0000 Subject: [PATCH] - added md5, rel. 5 to rebuild with new mysql Changed files: apache1-mod_accounting.spec -> 1.13.2.2 --- apache1-mod_accounting.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/apache1-mod_accounting.spec b/apache1-mod_accounting.spec index 8f383a5..f537a24 100644 --- a/apache1-mod_accounting.spec +++ b/apache1-mod_accounting.spec @@ -4,10 +4,11 @@ Summary: Apache module: record traffic statistics into a database Summary(pl): Modu³ do apache: zapisuje statystyki ruchu do bazy danych Name: apache-mod_%{mod_name} Version: 0.4 -Release: 4 +Release: 5 License: BSD Group: Networking/Daemons Source0: http://prdownloads.sourceforge.net/mod-acct/mod_accounting-%{version}.tar.gz +# Source0-md5: 93076acba346fb37834ada9d9f630fa4 Source1: %{name}.conf URL: http://sourceforge.net/projects/mod-acct/ BuildRequires: apache(EAPI)-devel @@ -18,7 +19,7 @@ Requires: apache(EAPI) BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _pkglibdir %(%{apxs} -q LIBEXECDIR) -%define _sysconfdir /etc/httpd +%define _sysconfdir /etc/httpd %description mod_accounting is a simple Apache module that can record traffic @@ -46,7 +47,7 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mod_accounting.conf %post %{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 + echo "Include /etc/httpd/mod_accounting.conf" >> /etc/httpd/httpd.conf fi if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 @@ -55,9 +56,9 @@ fi %preun if [ "$1" = "0" ]; then %{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 + 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 if [ -f /var/lock/subsys/httpd ]; then /etc/rc.d/init.d/httpd restart 1>&2 fi -- 2.44.0