Fix devel package to require the Epoch too.

Fix libraries split
This commit is contained in:
Kevin Fenzi 2018-05-06 22:28:00 -07:00
parent 34ed648735
commit acaea4840b

View File

@ -3,7 +3,7 @@
Name: nftables
Version: 0.8.4
#Release: 0.1.%%{snapdate}git%%{?dist}
Release: 1%{?dist}
Release: 2%{?dist}
# Upstream released a 0.100 version, then 0.4. Need Epoch to get back on track.
Epoch: 1
Summary: Netfilter Tables userspace utillites
@ -34,7 +34,7 @@ Netfilter Tables userspace utilities.
%package devel
Summary: Development library for nftables / libnftables
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
%description devel
@ -86,15 +86,19 @@ mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
%config(noreplace) %{_sysconfdir}/nftables/
%config(noreplace) %{_sysconfdir}/sysconfig/nftables.conf
%{_sbindir}/nft
%{_libdir}/libnftables.so
%{_libdir}/libnftables.so.*
%{_mandir}/man8/nft*
%{_unitdir}/nftables.service
%files devel
%{_libdir}/libnftables.so.*
%{_libdir}/libnftables.so
%{_libdir}/pkgconfig/libnftables.pc
%changelog
* Sun May 06 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.4-2
- Fix devel package to require the Epoch too.
- Fix libraries split
* Fri May 04 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.4-1
- Update to 0.8.4. Fixes bug #1574096