Compare commits

..

No commits in common. "copr-test" and "rawhide" have entirely different histories.

3 changed files with 8 additions and 12 deletions

View File

@ -10,10 +10,10 @@
Summary: Security module for the Apache HTTP Server
Name: mod_security
Version: 2.9.7
Release: 8%{?dist}
Release: 6%{?dist}
License: Apache-2.0
URL: http://www.modsecurity.org/
Source: https://github.com/owasp-modsecurity/ModSecurity/releases/download/v%{version}/modsecurity-%{version}.tar.gz
Source: https://github.com/SpiderLabs/ModSecurity/releases/download/v%{version}/modsecurity-%{version}.tar.gz
Source1: mod_security.conf
Source2: 10-mod_security.conf
Source3: modsecurity_localrules.conf
@ -106,7 +106,7 @@ sed -i 's/Include/IncludeOptional/' %{buildroot}%{_httpd_confdir}/mod_security.
install -d -m0755 %{buildroot}%{_httpd_confdir}
cat %{SOURCE2} %{SOURCE1} > %{buildroot}%{_httpd_confdir}/mod_security.conf
%endif
install -m 700 -d %{buildroot}%{_localstatedir}/lib/%{name}
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
# Local rules example
install -Dp -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/local_rules/
@ -122,8 +122,7 @@ install -m0644 mlogc/mlogc-default.conf %{buildroot}%{_sysconfdir}/mlogc.conf
%files
%doc CHANGES README.* NOTICE
%license LICENSE
%doc CHANGES LICENSE README.* NOTICE
%{_httpd_moddir}/mod_security2.so
%config(noreplace) %{_httpd_confdir}/*.conf
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
@ -146,9 +145,6 @@ install -m0644 mlogc/mlogc-default.conf %{buildroot}%{_sysconfdir}/mlogc.conf
%endif
%changelog
* Sun Jun 30 2024 Daniel Demus <daniel-fedoauth@demus.dk> - 2.9.7-7
- TrustWave has transferred the repo to OWASP, so the URL has changed
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

Binary file not shown.