Update to 0.9.1. Fixes bug #1723515

This commit is contained in:
Kevin Fenzi 2019-06-27 22:01:05 -07:00
parent fba37697e0
commit 96fc5b7d7a

View File

@ -1,9 +1,9 @@
#global snapdate 20140903 #global snapdate 20140903
Name: nftables Name: nftables
Version: 0.9.0 Version: 0.9.1
#Release: 0.1.%%{snapdate}git%%{?dist} #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. # 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
@ -28,6 +28,9 @@ BuildRequires: readline-devel
BuildRequires: libnftnl-devel BuildRequires: libnftnl-devel
BuildRequires: docbook2X BuildRequires: docbook2X
BuildRequires: systemd BuildRequires: systemd
BuildRequires: asciidoc
BuildRequires: iptables-devel
BuildRequires: jansson-devel
%description %description
Netfilter Tables userspace utilities. Netfilter Tables userspace utilities.
@ -46,7 +49,7 @@ Development tools and static libraries and header files for the libnftables libr
%build %build
#./autogen.sh #./autogen.sh
%configure --disable-silent-rules %configure --disable-silent-rules --with-xtables --with-json
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -66,22 +69,18 @@ cp -a %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/
chmod 600 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/nftables.conf chmod 600 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/nftables.conf
mkdir -m 700 -p $RPM_BUILD_ROOT/%{_sysconfdir}/nftables 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 chmod 700 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
%post %post
%systemd_post nftables.service %systemd_post nftables.service
%ldconfig_post
%preun %preun
%systemd_preun nftables.service %systemd_preun nftables.service
%postun %postun
%systemd_postun_with_restart nftables.service %systemd_postun_with_restart nftables.service
%post devel
%ldconfig_post
%postun devel
%ldconfig_postun %ldconfig_postun
%files %files
@ -90,6 +89,8 @@ chmod 700 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
%config(noreplace) %{_sysconfdir}/sysconfig/nftables.conf %config(noreplace) %{_sysconfdir}/sysconfig/nftables.conf
%{_sbindir}/nft %{_sbindir}/nft
%{_libdir}/libnftables.so.* %{_libdir}/libnftables.so.*
%{_mandir}/man3/libnftables.3*
%{_mandir}/man5/libnftables-json.5*
%{_mandir}/man8/nft* %{_mandir}/man8/nft*
%{_unitdir}/nftables.service %{_unitdir}/nftables.service
@ -99,6 +100,9 @@ chmod 700 $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
%{_includedir}/nftables/libnftables.h %{_includedir}/nftables/libnftables.h
%changelog %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 * Mon Jun 17 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.0-7
- Rebuild for new libnftnl. - Rebuild for new libnftnl.