diff --git a/.gitignore b/.gitignore index 59ecf29..3493dde 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /owasp-modsecurity-crs-2.2.8.tar.gz /SpiderLabs-owasp-modsecurity-crs-2.2.9-19-ga57031b.tar.gz /owasp-modsecurity-crs-f16e0b1.tar.gz +/owasp-modsecurity-crs-3.0.0.tar.gz diff --git a/mod_security_crs.spec b/mod_security_crs.spec index a5c6be3..f1ff480 100644 --- a/mod_security_crs.spec +++ b/mod_security_crs.spec @@ -1,17 +1,13 @@ %global with_extras 0%{?fedora} || 0%{?rhel} <= 6 -%global commit f16e0b1726c843889b9f024e27fd794147594677 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - - Summary: ModSecurity Rules Name: mod_security_crs -Version: 2.2.9.20160414git -Release: 2%{?dist} +Version: 3.0.0 +Release: 1%{?dist} License: ASL 2.0 URL: https://www.owasp.org/index.php/Category:OWASP_ModSecurity_Core_Rule_Set_Project Group: System Environment/Daemons -Source: https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/%{commit}/owasp-modsecurity-crs-%{shortcommit}.tar.gz +Source: https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/v%{version}/owasp-modsecurity-crs-%{version}.tar.gz BuildArch: noarch Requires: mod_security >= 2.7.0 @@ -29,7 +25,7 @@ This package provides supplementary rules for mod_security. %endif %prep -%setup -q -n owasp-modsecurity-crs-%{commit} +%autosetup -q -n %build @@ -81,6 +77,10 @@ rm -rf %{buildroot} %endif %changelog +* Sat Apr 22 2017 Athmane Madjoudj - 3.0.0-1 +- Update to 3.0.0 +- Clean up the spec + * Fri Feb 10 2017 Fedora Release Engineering - 2.2.9.20160414git-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 06934e1..ab5340f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0543475c6c150b4dfe9864999a10acd2 owasp-modsecurity-crs-f16e0b1.tar.gz +SHA512 (owasp-modsecurity-crs-3.0.0.tar.gz) = 14a5a231d20dcfebe3e2d5344fe07db56d50ef87d22dd07f22cf2539b1988a5511a514503c9896e857e08f19b8b30f489c9f8b0b6c33b7013f94e36cfa719471