]> git.pld-linux.org Git - packages/apache1-mod_accounting.git/commitdiff
- added md5, rel. 5 to rebuild with new mysql RA-branch apache-mod_accounting-0_4-5
authorankry <ankry@pld-linux.org>
Wed, 10 Sep 2003 11:01:51 +0000 (11:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_accounting.spec -> 1.13.2.2

apache1-mod_accounting.spec

index 8f383a5eeda77f52e6a10ca03825c116967aee2d..f537a2448a887bb2403fa269d3226926b1a32a46 100644 (file)
@@ -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
This page took 0.040303 seconds and 4 git commands to generate.