From f678608a6b890dbe50b07f18eea3f18d2867d263 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 21:17:02 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libnftnl.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libnftnl.spec b/libnftnl.spec index acca188..a7e7bf1 100644 --- a/libnftnl.spec +++ b/libnftnl.spec @@ -1,6 +1,6 @@ Name: libnftnl Version: 1.1.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for low-level interaction with nftables Netlink's API over libmnl License: GPLv2+ @@ -34,10 +34,10 @@ developing applications that use %{name}. %build %configure --disable-static --disable-silent-rules --with-json-parsing -make %{?_smp_mflags} +%make_build %check -make %{?_smp_mflags} check +%make_build check # JSON parsing is broken on big endian, causing tests to fail. Fixes awaiting # upstream acceptance: https://marc.info/?l=netfilter-devel&m=152968610931720&w=2 #cd tests @@ -57,6 +57,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_includedir}/libnftnl %changelog +* Mon Jul 13 2020 Tom Stellard - 1.1.7-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Fri Jun 05 2020 Phil Sutter - 1.1.7-1 - Rebase onto upstream version 1.1.7