forked from pool/apache2
This commit is contained in:
13
apache2.spec
13
apache2.spec
@@ -62,11 +62,6 @@
|
||||
%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
|
||||
@@ -209,7 +204,7 @@ BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
%endif
|
||||
%if 0%{?build_http2}
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: pkgconfig(libnghttp2) >= 1.2.1
|
||||
%endif
|
||||
|
||||
@@ -957,7 +952,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%{?build_http2}
|
||||
%if 0%{?suse_version} > 1320
|
||||
%{_libdir}/%{name}-prefork/mod_http2.so
|
||||
%endif
|
||||
%{_libdir}/%{name}-prefork/mod_imagemap.so
|
||||
@@ -1085,7 +1080,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%{?build_http2}
|
||||
%if 0%{?suse_version} > 1320
|
||||
%{_libdir}/%{name}-worker/mod_http2.so
|
||||
%endif
|
||||
%{_libdir}/%{name}-worker/mod_imagemap.so
|
||||
@@ -1212,7 +1207,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%{?build_http2}
|
||||
%if 0%{?suse_version} > 1320
|
||||
%{_libdir}/%{name}-event/mod_http2.so
|
||||
%endif
|
||||
%{_libdir}/%{name}-event/mod_heartmonitor.so
|
||||
|
Reference in New Issue
Block a user