From baf6cfe8eaaad8f1e16c4ba9ed8fcaa36a8cb02e Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Mon, 10 Dec 2018 10:40:34 +0100 Subject: [PATCH] disable HPACK tools explicitly at configure time ... so that we do not need to delete the tools after installation in case jansson-devel is installed on the build host --- nghttp2.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nghttp2.spec b/nghttp2.spec index 3466ac6..28c351c 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -51,6 +51,7 @@ sed -e '1 s|^#!/.*python|&3|' -i script/fetch-ocsp-response %build %configure PYTHON=%{__python3} \ + --disable-hpack-tools \ --disable-python-bindings \ --disable-static \ --without-libxml2 \ @@ -75,9 +76,6 @@ rm -f "$RPM_BUILD_ROOT%{_libdir}/libnghttp2.la" # will be installed via %%doc rm -f "$RPM_BUILD_ROOT%{_datadir}/doc/nghttp2/README.rst" -# suddenly appeared in nghttp2-1.35.1 -rm -f "$RPM_BUILD_ROOT%{_bindir}"/{de,in}flatehd - %ldconfig_scriptlets -n libnghttp2 %post