- build mod_http2 also for 42.3

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=549
This commit is contained in:
Petr Gajdos 2018-02-05 07:14:33 +00:00 committed by Git OBS Bridge
parent 0ea45d2eeb
commit 165db2ef44
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 5 07:14:03 UTC 2018 - pgajdos@suse.com
- build mod_http2 also for 42.3
-------------------------------------------------------------------
Fri Feb 2 07:39:23 UTC 2018 - pgajdos@suse.com

View File

@ -62,6 +62,11 @@
%else
%define use_firewalld 0
%endif
%if 0%{?suse_version} >= 1500 || 0%{?is_opensuse}
%define build_http2 1
%else
%define build_http2 0
%endif
Name: apache2
Version: 2.4.29
Release: 0
@ -204,7 +209,7 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(systemd)
%endif
%if 0%{?suse_version} > 1320
%if 0%{?build_http2}
BuildRequires: pkgconfig(libnghttp2) >= 1.2.1
%endif
@ -952,7 +957,7 @@ mv %{buildroot}/%{sysconfdir}/original .
%{_libdir}/%{name}-prefork/mod_filter.so
%{_libdir}/%{name}-prefork/mod_headers.so
%{_libdir}/%{name}-prefork/mod_heartmonitor.so
%if 0%{?suse_version} > 1320
%if 0%{?build_http2}
%{_libdir}/%{name}-prefork/mod_http2.so
%endif
%{_libdir}/%{name}-prefork/mod_imagemap.so
@ -1080,7 +1085,7 @@ mv %{buildroot}/%{sysconfdir}/original .
%{_libdir}/%{name}-worker/mod_filter.so
%{_libdir}/%{name}-worker/mod_headers.so
%{_libdir}/%{name}-worker/mod_heartmonitor.so
%if 0%{?suse_version} > 1320
%if 0%{?build_http2}
%{_libdir}/%{name}-worker/mod_http2.so
%endif
%{_libdir}/%{name}-worker/mod_imagemap.so
@ -1207,7 +1212,7 @@ mv %{buildroot}/%{sysconfdir}/original .
%{_libdir}/%{name}-event/mod_file_cache.so
%{_libdir}/%{name}-event/mod_filter.so
%{_libdir}/%{name}-event/mod_headers.so
%if 0%{?suse_version} > 1320
%if 0%{?build_http2}
%{_libdir}/%{name}-event/mod_http2.so
%endif
%{_libdir}/%{name}-event/mod_heartmonitor.so