From 2b768cf6efde280fa2524fdd523301a73bb6b4ff Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 02:07:16 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- nftables.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nftables.spec b/nftables.spec index e307d73..36ca0dc 100644 --- a/nftables.spec +++ b/nftables.spec @@ -1,6 +1,6 @@ Name: nftables Version: 0.9.3 -Release: 4%{?dist} +Release: 5%{?dist} # Upstream released a 0.100 version, then 0.4. Need Epoch to get back on track. Epoch: 1 Summary: Netfilter Tables userspace utillites @@ -57,7 +57,7 @@ The nftables python module provides an interface to libnftables via ctypes. #./autogen.sh %configure --disable-silent-rules --with-xtables --with-json \ --enable-python --with-python-bin=%{__python3} -make %{?_smp_mflags} +%make_build %install %make_install @@ -118,6 +118,10 @@ sed -i -e 's/\(sofile=\)".*"/\1"'$sofile'"/' \ %{python3_sitelib}/nftables/ %changelog +* Tue Jul 14 2020 Tom Stellard - 1:0.9.3-5 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue May 26 2020 Miro HronĨok - 1:0.9.3-4 - Rebuilt for Python 3.9