Fix FTBFS on s390x.

This commit is contained in:
Joe Orton 2020-02-07 13:38:54 +00:00
parent 8b949a466d
commit bc6b2b9b4f

View File

@ -9,6 +9,7 @@ License: ASL 2.0
URL: https://icing.github.io/mod_h2/ URL: https://icing.github.io/mod_h2/
Source0: https://github.com/icing/mod_h2/releases/download/v%{version}/mod_http2-%{version}.tar.gz Source0: https://github.com/icing/mod_h2/releases/download/v%{version}/mod_http2-%{version}.tar.gz
Patch1: mod_http2-1.14.1-buildfix.patch Patch1: mod_http2-1.14.1-buildfix.patch
Patch2: mod_http2-1.15.5-warnfix.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: pkgconfig, httpd-devel >= 2.4.20, libnghttp2-devel >= 1.7.0, openssl-devel >= 1.0.2 BuildRequires: pkgconfig, httpd-devel >= 2.4.20, libnghttp2-devel >= 1.7.0, openssl-devel >= 1.0.2
Requires: httpd-mmn = %{_httpd_mmn} Requires: httpd-mmn = %{_httpd_mmn}
@ -21,6 +22,7 @@ top of libnghttp2 for httpd 2.4 servers.
%prep %prep
%setup -q %setup -q
%patch1 -p1 -b .buildfix %patch1 -p1 -b .buildfix
%patch2 -p1 -b .warnfix
%build %build
%configure %configure