!6 update nftables to 0.9.6
Merge pull request !6 from eaglegai/openEuler-20.03-LTS
This commit is contained in:
commit
7abf8182f7
Binary file not shown.
BIN
nftables-0.9.6.tar.bz2
Normal file
BIN
nftables-0.9.6.tar.bz2
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
Name: nftables
|
Name: nftables
|
||||||
Version: 0.9.0
|
Version: 0.9.6
|
||||||
Release: 4
|
Release: 1
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: A subsystem of the Linux kernel processing network data
|
Summary: A subsystem of the Linux kernel processing network data
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -10,6 +10,7 @@ Source1: nftables.service
|
|||||||
Source2: nftables.conf
|
Source2: nftables.conf
|
||||||
|
|
||||||
BuildRequires: gcc flex bison libmnl-devel gmp-devel readline-devel libnftnl-devel docbook2X systemd
|
BuildRequires: gcc flex bison libmnl-devel gmp-devel readline-devel libnftnl-devel docbook2X systemd
|
||||||
|
BuildRequires: iptables-devel jansson-devel python3-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
nftables is a subsystem of the Linux kernel providing filtering and classification of\
|
nftables is a subsystem of the Linux kernel providing filtering and classification of\
|
||||||
@ -24,11 +25,20 @@ Development tools and static libraries and header files for the libnftables libr
|
|||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
|
%package -n python3-nftables
|
||||||
|
Summary: Python module providing an interface to libnftables
|
||||||
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
|
%{?python_provide:%python_provide python3-nftables}
|
||||||
|
|
||||||
|
%description -n python3-nftables
|
||||||
|
The nftables python module providing an interface to libnftables via ctypes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version}
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-silent-rules
|
%configure --disable-silent-rules --with-xtables --with-json \
|
||||||
|
--enable-python --with-python-bin=%{__python3}
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -64,6 +74,7 @@ install -d $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
|
|||||||
%{_sbindir}/nft
|
%{_sbindir}/nft
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_unitdir}/nftables.service
|
%{_unitdir}/nftables.service
|
||||||
|
%{_docdir}/nftables/examples/*.nft
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -75,8 +86,20 @@ install -d $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
|
|||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_mandir}/man8/nft*
|
%{_mandir}/man8/nft*
|
||||||
|
%{_mandir}/man3/libnftables.3*
|
||||||
|
%{_mandir}/man5/libnftables-json*
|
||||||
|
|
||||||
|
%files -n python3-nftables
|
||||||
|
%{python3_sitelib}/nftables-*.egg-info
|
||||||
|
%{python3_sitelib}/nftables/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 25 2020 gaihuiying <gaihuiying1@huawei.com> - 0.9.6-1
|
||||||
|
- Type:requirement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update nftables version to 0.9.6
|
||||||
|
|
||||||
* Tue Aug 18 2020 smileknife<jackshan2010@aliyun.com> - 1:0.9.0-4
|
* Tue Aug 18 2020 smileknife<jackshan2010@aliyun.com> - 1:0.9.0-4
|
||||||
- update release for rebuilding
|
- update release for rebuilding
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user