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
This commit is contained in:
Kamil Dudka 2018-12-10 10:40:34 +01:00
parent d729c2e6ed
commit baf6cfe8ea

View File

@ -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