From acaea4840b24c6561843687c61555458bf447a48 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 6 May 2018 22:28:00 -0700 Subject: [PATCH] Fix devel package to require the Epoch too. Fix libraries split --- nftables.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/nftables.spec b/nftables.spec index 9760f7a..4f984cb 100644 --- a/nftables.spec +++ b/nftables.spec @@ -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 - 0.8.4-2 +- Fix devel package to require the Epoch too. +- Fix libraries split + * Fri May 04 2018 Kevin Fenzi - 0.8.4-1 - Update to 0.8.4. Fixes bug #1574096