From 42953b1d68bebca3360417f8f282b203a81d4767 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Thu, 13 Sep 2012 10:27:58 +0100 Subject: [PATCH] Import EPEL changes so we can merge with fast-forward --- mod_security_crs.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mod_security_crs.spec b/mod_security_crs.spec index d98ec02..b243f37 100644 --- a/mod_security_crs.spec +++ b/mod_security_crs.spec @@ -1,13 +1,14 @@ Summary: ModSecurity Rules Name: mod_security_crs Version: 2.2.5 -Release: 2%{?dist} +Release: 4%{?dist} License: ASL 2.0 URL: http://www.modsecurity.org/ Group: System Environment/Daemons Source: https://sourceforge.net/projects/mod-security/files/modsecurity-crs/0-CURRENT/modsecurity-crs_%{version}.tar.gz BuildArch: noarch Requires: mod_security >= 2.6.5 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This package provides the base rules for mod_security. @@ -28,6 +29,8 @@ This package provides supplementary rules for mod_security. %build %install +rm -rf %{buildroot} + install -d %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/ install -d %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/activated_rules @@ -52,6 +55,9 @@ for f in `ls %{buildroot}/%{_prefix}/lib/modsecurity.d/base_rules/` ; do ln -s %{_prefix}/lib/modsecurity.d/base_rules/$f %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/activated_rules/$f; done +%clean +rm -rf %{buildroot} + %files %doc CHANGELOG INSTALL LICENSE README @@ -67,6 +73,12 @@ done %endif %changelog +* Tue Aug 28 2012 Athmane Madjoudj 2.2.5-4 +- Fix spec for el5 + +* Tue Aug 28 2012 Athmane Madjoudj 2.2.5-3 +- Add BuildRoot def for el5 compatibility + * Fri Jul 20 2012 Fedora Release Engineering - 2.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild