- build brotli module

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=543
This commit is contained in:
Petr Gajdos 2017-12-20 16:19:19 +00:00 committed by Git OBS Bridge
parent f68db4e4f9
commit 93d506fc21
2 changed files with 24 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 20 16:18:56 UTC 2017 - pgajdos@suse.com
- build brotli module
-------------------------------------------------------------------
Wed Dec 20 13:17:46 UTC 2017 - fcrozat@suse.com

View File

@ -135,11 +135,15 @@ Patch115: httpd-2.4.x-fate317766-config-control-two-protocol-options.diff
Patch116: deprecated-scripts-arch.patch
BuildRequires: apache-rpm-macros-control
BuildRequires: apr-util-devel
BuildRequires: automake
BuildRequires: db-devel
BuildRequires: ed
#Since 2.4.7 the event MPM requires apr 1.5.0 or later.
BuildRequires: apr-devel >= 1.5.0
BuildRequires: automake
%if 0%{?suse_version} >= 1315
BuildRequires: libbrotlidec-devel
BuildRequires: libbrotlienc-devel
%endif
BuildRequires: db-devel
BuildRequires: ed
BuildRequires: libcap-devel
#for mod_proxy_html and mod_xml2enc
BuildRequires: libxml2-devel
@ -377,6 +381,9 @@ function configure {
--enable-ssl=shared \
--disable-isapi \
--enable-deflate \
%if 0%{?suse_version} >= 1315
--enable-brotli \
%endif
--enable-echo \
--enable-filter \
--enable-ext-filter \
@ -909,6 +916,9 @@ mv %{buildroot}/%{sysconfdir}/original .
%{_libdir}/%{name}-prefork/mod_dav_lock.so
%{_libdir}/%{name}-prefork/mod_dbd.so
%{_libdir}/%{name}-prefork/mod_deflate.so
%if 0%{?suse_version} >= 1315
%{_libdir}/%{name}-prefork/mod_brotli.so
%endif
%{_libdir}/%{name}-prefork/mod_dialup.so
%{_libdir}/%{name}-prefork/mod_dir.so
%{_libdir}/%{name}-prefork/mod_dumpio.so
@ -1034,6 +1044,9 @@ mv %{buildroot}/%{sysconfdir}/original .
%{_libdir}/%{name}-worker/mod_dav_lock.so
%{_libdir}/%{name}-worker/mod_dbd.so
%{_libdir}/%{name}-worker/mod_deflate.so
%if 0%{?suse_version} >= 1315
%{_libdir}/%{name}-worker/mod_brotli.so
%endif
%{_libdir}/%{name}-worker/mod_dialup.so
%{_libdir}/%{name}-worker/mod_dir.so
%{_libdir}/%{name}-worker/mod_dumpio.so
@ -1158,6 +1171,9 @@ mv %{buildroot}/%{sysconfdir}/original .
%{_libdir}/%{name}-event/mod_dav_fs.so
%{_libdir}/%{name}-event/mod_dav_lock.so
%{_libdir}/%{name}-event/mod_dbd.so
%if 0%{?suse_version} >= 1315
%{_libdir}/%{name}-event/mod_brotli.so
%endif
%{_libdir}/%{name}-event/mod_deflate.so
%{_libdir}/%{name}-event/mod_dialup.so
%{_libdir}/%{name}-event/mod_dir.so