Fix a couple of fedora-review comments

This commit is contained in:
Daniel Demus 2024-07-14 21:56:13 +02:00
parent c2ac8b918b
commit 2595841baa

View File

@ -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 $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}
install -m 700 -d %{buildroot}%{_localstatedir}/lib/%{name}
# Local rules example
install -Dp -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/local_rules/
@ -122,7 +122,8 @@ install -m0644 mlogc/mlogc-default.conf %{buildroot}%{_sysconfdir}/mlogc.conf
%files
%doc CHANGES LICENSE README.* NOTICE
%doc CHANGES README.* NOTICE
%license LICENSE
%{_httpd_moddir}/mod_security2.so
%config(noreplace) %{_httpd_confdir}/*.conf
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"