Commit d34053ae authored by 53c70r's avatar 53c70r
Browse files

Fix LICENSE

parent c66e6dc7
......@@ -2,7 +2,7 @@
Name: nginx-mod-modsecurity-crs
Version: 3.3.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: OWASP-CRS for Nginx
License: ASL 2.0
BuildArch: noarch
......@@ -11,13 +11,14 @@ Group: System Environment/Daemons
Source0: https://github.com/coreruleset/coreruleset/archive/v%{version}.tar.gz
Source1: load_file.conf
Source2: modsecurity.conf
Source3: LICENSE
Obsoletes: mod_security_crs
Requires: nginx-mod-modsecurity
%description
The OWASP ModSecurity Core Rule Set (CRS) is a set of generic attack detection rules for use with ModSecurity or compatible web application firewalls. The CRS aims to protect web applications from a wide range of attacks, including the OWASP Top Ten, with a minimum of false alerts.
The OWASP ModSecurity Core Rule Set (CRS) is a set of generic attack detection rules for
use with ModSecurity or compatible web application firewalls. The CRS aims to protect web
applications from a wide range of attacks, including the OWASP Top Ten, with a minimum of false alerts.
%prep
%setup -c -q
......@@ -28,12 +29,10 @@ The OWASP ModSecurity Core Rule Set (CRS) is a set of generic attack detection r
%{__install} -p -D -m 0644 ./coreruleset-%{version}/crs-setup.conf.example %{buildroot}%{_sysconfdir}/nginx/modsecurity.d/coreruleset/crs-setup.conf
%{__install} -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/nginx/modsecurity.d/coreruleset/load_file.conf
%{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/nginx/conf.d/modsecurity.conf
%{__install} -p -D -m 0644 %{SOURCE3} %{buildroot}%{_datarootdir}/licenses/%{NAME}/LICENSE
%files
%defattr (-,root,root)
%config(noreplace) %{_sysconfdir}/nginx/modsecurity.d/coreruleset/crs-setup.conf
%config(noreplace) %{_sysconfdir}/nginx/conf.d/modsecurity.conf
%{_sysconfdir}/nginx/modsecurity.d/coreruleset
%{_sysconfdir}/nginx/conf.d/modsecurity.conf
%{_datarootdir}/licenses/%{NAME}/LICENSE
%license LICENSE
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment