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 Name: nftables
Version: 0.8.4 Version: 0.8.4
#Release: 0.1.%%{snapdate}git%%{?dist} #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. # 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
@ -34,7 +34,7 @@ Netfilter Tables userspace utilities.
%package devel %package devel
Summary: Development library for nftables / libnftables Summary: Development library for nftables / libnftables
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
@ -86,15 +86,19 @@ mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/nftables
%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 %{_libdir}/libnftables.so.*
%{_mandir}/man8/nft* %{_mandir}/man8/nft*
%{_unitdir}/nftables.service %{_unitdir}/nftables.service
%files devel %files devel
%{_libdir}/libnftables.so.* %{_libdir}/libnftables.so
%{_libdir}/pkgconfig/libnftables.pc %{_libdir}/pkgconfig/libnftables.pc
%changelog %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 * Fri May 04 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.4-1
- Update to 0.8.4. Fixes bug #1574096 - Update to 0.8.4. Fixes bug #1574096