- Update to new upstream release 0.8.4

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/nftables?expand=0&rev=31
This commit is contained in:
2018-05-02 06:15:36 +00:00
committed by Git OBS Bridge
parent b76f7ec5f7
commit c5f67fa94a
6 changed files with 31 additions and 7 deletions

View File

@@ -17,7 +17,7 @@
Name: nftables
Version: 0.8.3
Version: 0.8.4
Release: 0
Summary: Userspace utility to access the nf_tables packet filter
License: GPL-2.0-only
@@ -41,7 +41,7 @@ BuildRequires: pkgconfig(libnftnl) >= 1.0.9
BuildRequires: pkgconfig(xtables) >= 1.6.0
%description
nf_tables is a new firewalling mechanism in the Linux kernel, running
nf_tables is a firewalling mechanism in the Linux kernel, running
independently of, and thus parallel to, ip_tables, ip6_tables,
arp_tables and ebtables. nftables is the corresponsing userspace
frontend.
@@ -61,17 +61,23 @@ export PATH="$PATH:$PWD/bin"
mkdir obj
pushd obj/
%define _configure ../configure
%configure --disable-silent-rules --docdir="%_docdir/%name"
%configure --disable-silent-rules --disable-static --docdir="%_docdir/%name"
make %{?_smp_mflags}
popd
%install
b="%buildroot"
%make_install -C obj
rm -f "%buildroot/%_libdir/pkgconfig"/*.pc
rm -f "%buildroot/%_libdir"/*.la
# No headers, so it is quite pointless to have.
rm -f "%buildroot/%_libdir"/*.so "%buildroot/%_libdir/pkgconfig"/*.pc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%_libdir/libnftables.so.*
%_sbindir/nft
%_mandir/man8/nft*
%doc COPYING