diff --git a/backport-tests-flowtable-Don-t-check-NFTNL_FLOOWTABLE_SIZE.patch b/backport-tests-flowtable-Don-t-check-NFTNL_FLOOWTABLE_SIZE.patch deleted file mode 100644 index 3afd4e0..0000000 --- a/backport-tests-flowtable-Don-t-check-NFTNL_FLOOWTABLE_SIZE.patch +++ /dev/null @@ -1,37 +0,0 @@ -From b2388765e0c4405442faa13845419f6a35d0134c Mon Sep 17 00:00:00 2001 -From: Phil Sutter -Date: Mon, 2 Dec 2019 18:29:56 +0100 -Subject: [PATCH] tests: flowtable: Don't check NFTNL_FLOWTABLE_SIZE - -Marshalling code around that attribute has been dropped by commit -d1c4b98c733a5 ("flowtable: remove NFTA_FLOWTABLE_SIZE") so it's value is -lost during the test. - -Assuming that NFTNL_FLOWTABLE_SIZE will receive kernel support at a -later point, leave the test code in place but just comment it out. - -Fixes: d1c4b98c733a5 ("flowtable: remove NFTA_FLOWTABLE_SIZE") -Signed-off-by: Phil Sutter -Acked-by: Pablo Neira Ayuso ---- - tests/nft-flowtable-test.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/tests/nft-flowtable-test.c b/tests/nft-flowtable-test.c -index 3edb00d..8ab8d4c 100644 ---- a/tests/nft-flowtable-test.c -+++ b/tests/nft-flowtable-test.c -@@ -33,9 +33,11 @@ static void cmp_nftnl_flowtable(struct nftnl_flowtable *a, struct nftnl_flowtabl - if (nftnl_flowtable_get_u32(a, NFTNL_FLOWTABLE_USE) != - nftnl_flowtable_get_u32(b, NFTNL_FLOWTABLE_USE)) - print_err("Flowtable use mismatches"); -+#if 0 - if (nftnl_flowtable_get_u32(a, NFTNL_FLOWTABLE_SIZE) != - nftnl_flowtable_get_u32(b, NFTNL_FLOWTABLE_SIZE)) - print_err("Flowtable size mismatches"); -+#endif - if (nftnl_flowtable_get_u32(a, NFTNL_FLOWTABLE_FLAGS) != - nftnl_flowtable_get_u32(b, NFTNL_FLOWTABLE_FLAGS)) - print_err("Flowtable flags mismatches"); --- -2.19.1 diff --git a/libnftnl-1.1.5.tar.bz2 b/libnftnl-1.1.5.tar.bz2 deleted file mode 100644 index dd8c291..0000000 Binary files a/libnftnl-1.1.5.tar.bz2 and /dev/null differ diff --git a/libnftnl-1.1.7.tar.bz2 b/libnftnl-1.1.7.tar.bz2 new file mode 100644 index 0000000..e99eb80 Binary files /dev/null and b/libnftnl-1.1.7.tar.bz2 differ diff --git a/libnftnl.spec b/libnftnl.spec index 2aac751..7a370de 100644 --- a/libnftnl.spec +++ b/libnftnl.spec @@ -1,14 +1,12 @@ Name: libnftnl -Version: 1.1.5 -Release: 3 +Version: 1.1.7 +Release: 1 Summary: Library for low-level interaction with nftables Netlink's API over libmnl License: GPLv2+ URL: http://netfilter.org/projects/libnftnl/ Source0: http://ftp.netfilter.org/pub/libnftnl/libnftnl-%{version}.tar.bz2 -Patch6000: backport-tests-flowtable-Don-t-check-NFTNL_FLOOWTABLE_SIZE.patch - -BuildRequires: libmnl-devel jansson-devel gcc libnftnl +BuildRequires: libmnl-devel jansson-devel gcc # replace old libnftables package Provides: libnftables = %{version}-%{release} @@ -53,6 +51,9 @@ make %{?_smp_mflags} check %{_includedir}/libnftnl %changelog +* Wed Jul 22 2020 hanzhijun - 1.1.7-1 +- update to 1.1.7 + * Wed Jul 1 2020 chengquan - 1.1.5-3 - delete temporary binary compatibility