]> git.pld-linux.org Git - packages/apache1-mod_rpaf.git/commitdiff
- remove apache confdir triggers (it wasn't never on ftp)
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 10 Feb 2005 18:04:15 +0000 (18:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_rpaf.spec -> 1.4

apache1-mod_rpaf.spec

index 813fcd5a30912955422f819f09a7e8895967dca9..3bfcaf7c4d7d49b20e85635047987da74be90084 100644 (file)
@@ -6,19 +6,16 @@ Summary:      Apache module: record traffic statistics into a database
 Summary(pl):   Modu³ Apache'a: zapisywanie statystyk ruchu do bazy danych
 Name:          apache1-mod_%{mod_name}
 Version:       0.5
-Release:       0.11
+Release:       0.12
 License:       Apache
 Group:         Networking/Daemons
 Source0:       http://stderr.net/apache/rpaf/download/mod_%{mod_name}-%{version}.tar.gz
 # Source0-md5: 471fb059d6223a394f319b7c8ab45c4d
 Source1:       %{name}.conf
 URL:           http://stderr.net/apache/rpaf/
-BuildRequires: apache1-devel >= 1.3.33-1.1
+BuildRequires: apache1-devel >= 1.3.33-2
 BuildConflicts:        apache(ipv6)-devel
-Requires(triggerpostun):       %{apxs}
-Requires(triggerpostun):       grep
-Requires(triggerpostun):       sed >= 4.0
-Requires:      apache1
+Requires:      apache1 >= 1.3.33-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
@@ -65,22 +62,6 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
-%triggerpostun -- %{name} < 0.5-0.11
-if grep -q '^Include conf\.d' /etc/apache/apache.conf; then
-       %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
-       sed -i -e '
-               /^Include.*mod_%{mod_name}\.conf/d
-       ' /etc/apache/apache.conf
-else
-       # they're still using old apache.conf
-       sed -i -e '
-               s,^Include.*mod_%{mod_name}\.conf,Include %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf,
-       ' /etc/apache/apache.conf
-fi
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-fi
-
 %files
 %defattr(644,root,root,755)
 %doc README CHANGES test.pl
This page took 0.040891 seconds and 4 git commands to generate.