diff --git a/.gitignore b/.gitignore index e205447..495b2f7 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /nftables-0.9.0.tar.bz2 /nftables-0.9.1.tar.bz2 /nftables-0.9.2.tar.bz2 +/nftables-0.9.3.tar.bz2 diff --git a/nftables.spec b/nftables.spec index 58ee04a..3a46968 100644 --- a/nftables.spec +++ b/nftables.spec @@ -1,17 +1,13 @@ -#global snapdate 20140903 - Name: nftables -Version: 0.9.2 -#Release: 0.1.%%{snapdate}git%%{?dist} -Release: 3%{?dist} +Version: 0.9.3 +Release: 1%{?dist} # Upstream released a 0.100 version, then 0.4. Need Epoch to get back on track. Epoch: 1 Summary: Netfilter Tables userspace utillites License: GPLv2 -URL: http://netfilter.org/projects/nftables/ -#Source0: http://ftp.netfilter.org/pub/nftables/snapshot/nftables-%{snapdate}.tar.bz2 -Source0: http://ftp.netfilter.org/pub/nftables/nftables-%{version}.tar.bz2 +URL: https://netfilter.org/projects/nftables/ +Source0: %{url}/files/%{name}-%{version}.tar.bz2 Source1: nftables.service Source2: nftables.conf @@ -52,12 +48,12 @@ Requires: %{name} = %{epoch}:%{version}-%{release} The nftables python module provides an interface to libnftables via ctypes. %prep -#setup -q -n nftables-%{snapdate} %setup -q %build #./autogen.sh -%configure --disable-silent-rules --with-xtables --with-json --enable-python --with-python-bin=/usr/bin/python3 +%configure --disable-silent-rules --with-xtables --with-json \ + --enable-python --with-python-bin=%{__python3} make %{?_smp_mflags} %install @@ -106,6 +102,7 @@ sed -i -e 's/\(sofile=\)".*"/\1"'$sofile'"/' \ %{_mandir}/man5/libnftables-json.5* %{_mandir}/man8/nft* %{_unitdir}/nftables.service +%{_docdir}/nftables/examples/*.nft %files devel %{_libdir}/libnftables.so @@ -118,6 +115,9 @@ sed -i -e 's/\(sofile=\)".*"/\1"'$sofile'"/' \ %{python3_sitelib}/nftables/ %changelog +* Wed Dec 04 2019 Phil Sutter - 1:0.9.3-1 +- Update to 0.9.2. Fixes bug #1778959 + * Tue Oct 01 2019 Phil Sutter - 1:0.9.2-3 - Drop unneeded docbook2X build dependency - Add python3-nftables sub-package diff --git a/sources b/sources index e6c8ce0..d2e30c2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nftables-0.9.2.tar.bz2) = 2d83b104af0d70f99a16c2e40afdb9bf89bd984323810e2895976c5e2e346bf09dd88850a391f295e335279adfdd39d34c13610cf8e6b801499dc0df2a5cecf6 +SHA512 (nftables-0.9.3.tar.bz2) = d264f6fc75c95510e29fe7d5b82ae418d502f40437b098ba6117ffb1374d9989d70a7296e2e58c5fb25142145a987bb9c160902637899f892589809f9541db43