From 961e9538e3f5fd3dd847560f980785f0c04fd381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 12 Aug 2015 12:27:16 +0200 Subject: [PATCH] packaging fixes for rpm-4.12.90 - dropped qemu-kvm-tools-rhev requirement (not in Fedora) --- tuned.spec | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/tuned.spec b/tuned.spec index 2457e5b..b915ead 100644 --- a/tuned.spec +++ b/tuned.spec @@ -1,7 +1,7 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned Version: 2.5.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2 URL: https://fedorahosted.org/tuned/ @@ -26,7 +26,7 @@ network and ATA harddisk devices are implemented. %global docdir %{_docdir}/%{name}-%{version} %else # RHEL > 7 || fedora -%global docdir %{_docdir}/tuned +%global docdir %{_docdir}/%{name} %endif %package gtk @@ -96,8 +96,9 @@ Additional tuned profile(s) targeted to realtime. %package profiles-nfv Summary: Additional tuned profile(s) targeted to Network Function Virtualization (NFV) -Requires: %{name} = %{version}-%{release}, %{name}-profiles-realtime = %{version}-%{release} -Requires: tuna, qemu-kvm-tools-rhev +Requires: %{name} = %{version}-%{release} +Requires: %{name}-profiles-realtime = %{version}-%{release} +Requires: tuna %description profiles-nfv Additional tuned profile(s) targeted to Network Function Virtualization (NFV). @@ -172,10 +173,9 @@ fi %files %defattr(-,root,root,-) -%doc AUTHORS -%doc COPYING -%doc README -%doc doc/TIPS.txt +%exclude %{docdir}/README.utils +%exclude %{docdir}/README.scomes +%doc %{docdir} %{_datadir}/bash-completion/completions/tuned-adm %exclude %{python_sitelib}/tuned/gtk %{python_sitelib}/tuned @@ -290,6 +290,10 @@ fi %{_mandir}/man7/tuned-profiles-compat.7* %changelog +* Wed Aug 12 2015 Jaroslav Škarvada - 2.5.1-2 +- packaging fixes for rpm-4.12.90 +- dropped qemu-kvm-tools-rhev requirement (not in Fedora) + * Tue Aug 4 2015 Jaroslav Škarvada - 2.5.1-1 - new-release related: rhbz#1155052