1
0

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:
Roman Drahtmueller 2014-08-27 15:27:01 +00:00 committed by Git OBS Bridge
parent f458f3c6eb
commit fc3d6dbc4e
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -84,9 +84,14 @@ bzip2 -dc %{SOURCE4} > %{_sourcedir}/%{faq} && touch -r %{SOURCE4} %{_sourcedir}
#%patch2
%build
# aclocal only works with never distributions,
%if 0%{?suse_version} >= 1310
aclocal
# on older versions only autoconf is called.
%else
autoreconf -fi
%endif
automake
#autoreconf -fi
./configure --with-apxs=%{apxs} --enable-request-early --enable-htaccess-config
CFLAGS="%{optflags}" make %{?_smp_mflags}