From f6e6d022ca1914cac1cd6b65c0b59a46360cf4a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 10 Feb 2005 02:16:42 +0000 Subject: [PATCH 1/1] - add logs/mod_throttle.runtime to package Changed files: apache1-mod_throttle.spec -> 1.31 --- apache1-mod_throttle.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apache1-mod_throttle.spec b/apache1-mod_throttle.spec index 79f9a12..5a660ce 100644 --- a/apache1-mod_throttle.spec +++ b/apache1-mod_throttle.spec @@ -14,7 +14,7 @@ Summary(pt_BR): Descompress Summary(sv): En modul som implementerar bandvidd- och begäranbegränsningar i Apache Name: apache1-mod_%{mod_name} Version: 3.1.2 -Release: 1.2 +Release: 1.4 License: BSD-like Group: Networking/Daemons Source0: http://www.snert.com/Software/mod_throttle/mod_throttle312.tgz @@ -31,6 +31,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null) %define _sysconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null) +%define _pkglogdir %(%{apxs} -q PREFIX 2>/dev/null)/logs %description This Apache module is intended to reduce the load on your server & @@ -99,7 +100,7 @@ v %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/conf.d} +install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/conf.d,%{_pkglogdir}} install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir} @@ -108,6 +109,8 @@ echo 'LoadModule %{mod_name}_module modules/mod_%{mod_name}.so' > \ sed -e 's/