diff --git a/mod_security.spec b/mod_security.spec index c5d8650..04b355c 100644 --- a/mod_security.spec +++ b/mod_security.spec @@ -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}"