forked from pool/apache2-mod_security2
Accepting request 246404 from home:thomas-worm-sicsec:dev:mod_security
Added backward compatibility for SLE 11 (aclocal fails on older distributions than openSuSE 13.1). Please forward to updates. OBS-URL: https://build.opensuse.org/request/show/246404 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_security2?expand=0&rev=49
This commit is contained in:
parent
f458f3c6eb
commit
fc3d6dbc4e
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 25 19:33:11 UTC 2014 - thomas.worm@sicsec.de
|
||||||
|
|
||||||
|
- Fixed spec file to work with older distribution versions.
|
||||||
|
Before openSuSE 13.1 aclocal doesn't work, instead autoreconf
|
||||||
|
has to be called.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 7 14:06:19 CEST 2014 - draht@suse.de
|
Mon Jul 7 14:06:19 CEST 2014 - draht@suse.de
|
||||||
|
|
||||||
|
@ -84,9 +84,14 @@ bzip2 -dc %{SOURCE4} > %{_sourcedir}/%{faq} && touch -r %{SOURCE4} %{_sourcedir}
|
|||||||
#%patch2
|
#%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# aclocal only works with never distributions,
|
||||||
|
%if 0%{?suse_version} >= 1310
|
||||||
aclocal
|
aclocal
|
||||||
|
# on older versions only autoconf is called.
|
||||||
|
%else
|
||||||
|
autoreconf -fi
|
||||||
|
%endif
|
||||||
automake
|
automake
|
||||||
#autoreconf -fi
|
|
||||||
./configure --with-apxs=%{apxs} --enable-request-early --enable-htaccess-config
|
./configure --with-apxs=%{apxs} --enable-request-early --enable-htaccess-config
|
||||||
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user