From d9cb023f4e014ca13b3261395527d056842d2439 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 20:55:15 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- nghttp2.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nghttp2.spec b/nghttp2.spec index 6bf49f7..987dbea 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -1,7 +1,7 @@ Summary: Experimental HTTP/2 client, server and proxy Name: nghttp2 Version: 1.41.0 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: https://nghttp2.org/ Source0: https://github.com/tatsuhiro-t/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz @@ -60,7 +60,7 @@ sed -i libtool \ -e 's/^runpath_var=.*/runpath_var=/' \ -e 's/^hardcode_libdir_flag_spec=".*"$/hardcode_libdir_flag_spec=""/' -make %{?_smp_mflags} V=1 +%make_build %install @@ -86,7 +86,7 @@ rm -f "$RPM_BUILD_ROOT%{_datadir}/doc/nghttp2/README.rst" %check # test the just built library instead of the system one, without using rpath export "LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH" -make %{?_smp_mflags} check +%make_build check %files @@ -114,6 +114,10 @@ make %{?_smp_mflags} check %changelog +* Tue Jul 14 2020 Tom Stellard - 1.41.0-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jun 02 2020 Kamil Dudka 1.41.0-1 - update to the latest upstream release