forked from pool/apache2-mod_security2
- fix build for SLE_11_SP4: BuildRoot and %deffattr have to be
present OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=76
This commit is contained in:
parent
8a706f0f57
commit
0cf4ea6d08
@ -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
|
Mon Oct 2 11:02:58 UTC 2017 - kstreitova@suse.com
|
||||||
|
|
||||||
|
@ -50,6 +50,9 @@ BuildRequires: pkgconfig
|
|||||||
Requires: %{apache_mmn}
|
Requires: %{apache_mmn}
|
||||||
Requires: %{apache_suse_maintenance_mmn}
|
Requires: %{apache_suse_maintenance_mmn}
|
||||||
Requires: apache2
|
Requires: apache2
|
||||||
|
%if 0%{suse_version} == 1110
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ModSecurity(TM) is an open source intrusion detection and prevention
|
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
|
set -x
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%if %{suse_version} == 1110
|
||||||
|
%defattr (-,root,root)
|
||||||
|
%endif
|
||||||
%{apache_libexecdir}/%{modname}.so
|
%{apache_libexecdir}/%{modname}.so
|
||||||
%config(noreplace) %{apache_sysconfdir}/conf.d/%{modname}.conf
|
%config(noreplace) %{apache_sysconfdir}/conf.d/%{modname}.conf
|
||||||
%dir %{apache_sysconfdir}/mod_security2.d
|
%dir %{apache_sysconfdir}/mod_security2.d
|
||||||
|
Loading…
Reference in New Issue
Block a user