Update to 0.8.4. Fixes bug #1574096

This commit is contained in:
Kevin Fenzi 2018-05-04 19:28:51 -07:00
parent 1dd8a9d887
commit 34ed648735
3 changed files with 31 additions and 3 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/nftables-0.8.1.tar.bz2 /nftables-0.8.1.tar.bz2
/nftables-0.8.2.tar.bz2 /nftables-0.8.2.tar.bz2
/nftables-0.8.3.tar.bz2 /nftables-0.8.3.tar.bz2
/nftables-0.8.4.tar.bz2

View File

@ -1,7 +1,7 @@
#global snapdate 20140903 #global snapdate 20140903
Name: nftables Name: nftables
Version: 0.8.3 Version: 0.8.4
#Release: 0.1.%%{snapdate}git%%{?dist} #Release: 0.1.%%{snapdate}git%%{?dist}
Release: 1%{?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.
@ -31,6 +31,15 @@ BuildRequires: systemd
%description %description
Netfilter Tables userspace utilities. Netfilter Tables userspace utilities.
%package devel
Summary: Development library for nftables / libnftables
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Development tools and static libraries and header files for the libnftables library.
%prep %prep
#setup -q -n nftables-%{snapdate} #setup -q -n nftables-%{snapdate}
%setup -q %setup -q
@ -43,6 +52,10 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# Don't ship static lib (for now at least)
rm -f $RPM_BUILD_ROOT/%{_libdir}/libnftables.a
chmod 644 $RPM_BUILD_ROOT/%{_mandir}/man8/nft* chmod 644 $RPM_BUILD_ROOT/%{_mandir}/man8/nft*
mkdir -p $RPM_BUILD_ROOT/%{_unitdir} mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
@ -62,15 +75,29 @@ mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
%postun %postun
%systemd_postun_with_restart nftables.service %systemd_postun_with_restart nftables.service
%post devel
%ldconfig_post
%postun devel
%ldconfig_postun
%files %files
%doc COPYING TODO %license COPYING
%config(noreplace) %{_sysconfdir}/nftables/ %config(noreplace) %{_sysconfdir}/nftables/
%config(noreplace) %{_sysconfdir}/sysconfig/nftables.conf %config(noreplace) %{_sysconfdir}/sysconfig/nftables.conf
%{_sbindir}/nft %{_sbindir}/nft
%{_libdir}/libnftables.so
%{_mandir}/man8/nft* %{_mandir}/man8/nft*
%{_unitdir}/nftables.service %{_unitdir}/nftables.service
%files devel
%{_libdir}/libnftables.so.*
%{_libdir}/pkgconfig/libnftables.pc
%changelog %changelog
* Fri May 04 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.4-1
- Update to 0.8.4. Fixes bug #1574096
* Sat Mar 03 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.3-1 * Sat Mar 03 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.3-1
- Update to 0.8.3. Fixes bug #1551207 - Update to 0.8.3. Fixes bug #1551207

View File

@ -1 +1 @@
SHA512 (nftables-0.8.3.tar.bz2) = d3d97be10c2dcd1f15b9998e01254ff11438a2d83922e8b5207b641375ea12bb86ecbe4f9cb21cdf5998ddeb7c42b9e424dcb40a359cf42e06b9437a5ce4f72c SHA512 (nftables-0.8.4.tar.bz2) = 213a8d46ec615d749704a8f958c8b4a5d810ddb84c133b62f9aa64c3175da94ddbf0b06421daa237909932b67219b10d7ce9c5878a28bdca14935dfe83b380d8