Update to 0.9.1. Fixes bug #1723515
This commit is contained in:
parent
fba37697e0
commit
96fc5b7d7a
@ -1,9 +1,9 @@
|
||||
#global snapdate 20140903
|
||||
|
||||
Name: nftables
|
||||
Version: 0.9.0
|
||||
Version: 0.9.1
|
||||
#Release: 0.1.%%{snapdate}git%%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Release: 1%{?dist}
|
||||
# Upstream released a 0.100 version, then 0.4. Need Epoch to get back on track.
|
||||
Epoch: 1
|
||||
Summary: Netfilter Tables userspace utillites
|
||||
@ -28,6 +28,9 @@ BuildRequires: readline-devel
|
||||
BuildRequires: libnftnl-devel
|
||||
BuildRequires: docbook2X
|
||||
BuildRequires: systemd
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: iptables-devel
|
||||
BuildRequires: jansson-devel
|
||||
|
||||
%description
|
||||
Netfilter Tables userspace utilities.
|
||||
@ -46,7 +49,7 @@ Development tools and static libraries and header files for the libnftables libr
|
||||
|
||||
%build
|
||||
#./autogen.sh
|
||||
%configure --disable-silent-rules
|
||||
%configure --disable-silent-rules --with-xtables --with-json
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -66,22 +69,18 @@ cp -a %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/
|
||||
chmod 600 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/nftables.conf
|
||||
|
||||
mkdir -m 700 -p $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
|
||||
chmod 600 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables/*
|
||||
chmod 600 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables/*.nft
|
||||
chmod 700 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
|
||||
|
||||
%post
|
||||
%systemd_post nftables.service
|
||||
%ldconfig_post
|
||||
|
||||
%preun
|
||||
%systemd_preun nftables.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart nftables.service
|
||||
|
||||
%post devel
|
||||
%ldconfig_post
|
||||
|
||||
%postun devel
|
||||
%ldconfig_postun
|
||||
|
||||
%files
|
||||
@ -90,6 +89,8 @@ chmod 700 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/nftables.conf
|
||||
%{_sbindir}/nft
|
||||
%{_libdir}/libnftables.so.*
|
||||
%{_mandir}/man3/libnftables.3*
|
||||
%{_mandir}/man5/libnftables-json.5*
|
||||
%{_mandir}/man8/nft*
|
||||
%{_unitdir}/nftables.service
|
||||
|
||||
@ -99,6 +100,9 @@ chmod 700 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
|
||||
%{_includedir}/nftables/libnftables.h
|
||||
|
||||
%changelog
|
||||
* Tue Jun 25 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.1-1
|
||||
- Update to 0.9.1. Fixes bug #1723515
|
||||
|
||||
* Mon Jun 17 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.0-7
|
||||
- Rebuild for new libnftnl.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user