diff --git a/apache2-mod_security2.changes b/apache2-mod_security2.changes index 2ae8aed..b4d5774 100644 --- a/apache2-mod_security2.changes +++ b/apache2-mod_security2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 20 09:13:49 UTC 2017 - pgajdos@suse.com + +- fix build for SLE_11_SP4: BuildRoot and %deffattr have to be + present + ------------------------------------------------------------------- Mon Oct 2 11:02:58 UTC 2017 - kstreitova@suse.com diff --git a/apache2-mod_security2.spec b/apache2-mod_security2.spec index 9f7dfaa..c406527 100644 --- a/apache2-mod_security2.spec +++ b/apache2-mod_security2.spec @@ -50,6 +50,9 @@ BuildRequires: pkgconfig Requires: %{apache_mmn} Requires: %{apache_suse_maintenance_mmn} Requires: apache2 +%if 0%{suse_version} == 1110 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%endif %description ModSecurity(TM) is an open source intrusion detection and prevention @@ -121,6 +124,9 @@ sed -i 's:%{_sysconfdir}/apache2:%{buildroot}%{_sysconfdir}/apache2:' %{apache_t set -x %files +%if %{suse_version} == 1110 +%defattr (-,root,root) +%endif %{apache_libexecdir}/%{modname}.so %config(noreplace) %{apache_sysconfdir}/conf.d/%{modname}.conf %dir %{apache_sysconfdir}/mod_security2.d