From 25defd66316d0cfb7816a311b915f10a4f925d0e Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Fri, 15 May 2020 12:51:56 -0500 Subject: [PATCH] Add patch for json performance with ipsets, fixes RHBZ#1834853. --- nftables.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nftables.spec b/nftables.spec index dc65bf7..81f42fd 100644 --- a/nftables.spec +++ b/nftables.spec @@ -1,6 +1,6 @@ Name: nftables Version: 0.9.3 -Release: 2%{?dist} +Release: 3%{?dist} # Upstream released a 0.100 version, then 0.4. Need Epoch to get back on track. Epoch: 1 Summary: Netfilter Tables userspace utillites @@ -11,6 +11,9 @@ Source0: %{url}/files/%{name}-%{version}.tar.bz2 Source1: nftables.service Source2: nftables.conf +# https://bugzilla.redhat.com/show_bug.cgi?id=1834853 +Patch0: nftables-fix_json_events.patch + #BuildRequires: autogen #BuildRequires: autoconf #BuildRequires: automake @@ -48,7 +51,7 @@ Requires: %{name} = %{epoch}:%{version}-%{release} The nftables python module provides an interface to libnftables via ctypes. %prep -%setup -q +%autosetup -p1 %build #./autogen.sh @@ -115,6 +118,9 @@ sed -i -e 's/\(sofile=\)".*"/\1"'$sofile'"/' \ %{python3_sitelib}/nftables/ %changelog +* Fri May 15 2020 root - 1:0.9.3-3 +- Add patch for json performance with ipsets, fixes RHBZ#1834853. + * Wed Jan 29 2020 Fedora Release Engineering - 1:0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild