From 391ca2cdec28471784b07611490d68118fe9163b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 10 Feb 2005 18:04:15 +0000 Subject: [PATCH] - remove apache confdir triggers (it wasn't never on ftp) Changed files: apache1-mod_rpaf.spec -> 1.4 --- apache1-mod_rpaf.spec | 25 +++---------------------- 1 file 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 -- 2.43.0