Add patch for json performance with ipsets, fixes RHBZ#1834853.

This commit is contained in:
Richard Shaw 2020-05-15 12:51:56 -05:00
parent ca2dced16e
commit 25defd6631

View File

@ -1,6 +1,6 @@
Name: nftables Name: nftables
Version: 0.9.3 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. # Upstream released a 0.100 version, then 0.4. Need Epoch to get back on track.
Epoch: 1 Epoch: 1
Summary: Netfilter Tables userspace utillites Summary: Netfilter Tables userspace utillites
@ -11,6 +11,9 @@ Source0: %{url}/files/%{name}-%{version}.tar.bz2
Source1: nftables.service Source1: nftables.service
Source2: nftables.conf Source2: nftables.conf
# https://bugzilla.redhat.com/show_bug.cgi?id=1834853
Patch0: nftables-fix_json_events.patch
#BuildRequires: autogen #BuildRequires: autogen
#BuildRequires: autoconf #BuildRequires: autoconf
#BuildRequires: automake #BuildRequires: automake
@ -48,7 +51,7 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
The nftables python module provides an interface to libnftables via ctypes. The nftables python module provides an interface to libnftables via ctypes.
%prep %prep
%setup -q %autosetup -p1
%build %build
#./autogen.sh #./autogen.sh
@ -115,6 +118,9 @@ sed -i -e 's/\(sofile=\)".*"/\1"'$sofile'"/' \
%{python3_sitelib}/nftables/ %{python3_sitelib}/nftables/
%changelog %changelog
* Fri May 15 2020 root <hobbes1069@gmail.com> - 1:0.9.3-3
- Add patch for json performance with ipsets, fixes RHBZ#1834853.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.3-2 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild