From 38bb65f078af591696280082bfb038633b117ecc Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 28 Jan 2015 11:18:01 +0200 Subject: [PATCH] Comply to Fedora static package policies - Move static libraries to -devel, there's no point in having them in a "runtime" package anyway - Add dpdk-static = %{version}-%{release} provide to -devel - Have the main package always own the private library directory though --- dpdk.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dpdk.spec b/dpdk.spec index d7f63ac..7197992 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -41,6 +41,7 @@ fast packet processing in the user space. %package devel Summary: Data Plane Development Kit development files Requires: %{name}%{?_isa} = %{version}-%{release} +Provides: %{name}-static = %{version}-%{release} %description devel This package contains the headers and other files needed for developing @@ -139,7 +140,7 @@ install -m 644 ${comblib} %{buildroot}/%{_libdir}/%{name}-%{version}/${comblib} %files # BSD %{_bindir}/* -%{_libdir}/%{name}-%{version} +%dir %{_libdir}/%{name}-%{version} %files doc #BSD @@ -150,8 +151,12 @@ install -m 644 ${comblib} %{buildroot}/%{_libdir}/%{name}-%{version}/${comblib} %{_includedir}/* %{sdkdir} %{_sysconfdir}/profile.d/dpdk-sdk-*.* +%{_libdir}/%{name}-%{version}/*.a %changelog +* Wed Jan 27 2015 Panu Matilainen - 1.7.0-7 +- Policy compliance: move static libraries to -devel, provide dpdk-static + * Wed Jan 27 2015 Panu Matilainen - 1.7.0-6 - Avoid variable expansion in the spec here-documents during build - Drop now unnecessary debug flags patch