diff options
author | Elan Ruusamäe | 2005-02-10 18:04:15 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 391ca2cdec28471784b07611490d68118fe9163b (patch) | |
tree | 13e52189d9d77f9f7cdb63d40f02adb0c6664b27 | |
parent | 0bd3dc42bbf80d0de11e6f257c27c3b3760625d9 (diff) | |
download | apache1-mod_rpaf-391ca2cdec28471784b07611490d68118fe9163b.zip apache1-mod_rpaf-391ca2cdec28471784b07611490d68118fe9163b.tar.gz |
- remove apache confdir triggers (it wasn't never on ftp)
Changed files:
apache1-mod_rpaf.spec -> 1.4
-rw-r--r-- | apache1-mod_rpaf.spec | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/apache1-mod_rpaf.spec b/apache1-mod_rpaf.spec index 813fcd5..3bfcaf7 100644 --- a/apache1-mod_rpaf.spec +++ b/apache1-mod_rpaf.spec @@ -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 |