From 51683c39e334456c74c18e52c85a802995061c15 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Mon, 5 Feb 2018 01:29:05 +0100 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- tuned.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/tuned.spec b/tuned.spec index 3dd4f65..9049da0 100644 --- a/tuned.spec +++ b/tuned.spec @@ -9,21 +9,21 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned Version: 2.9.0 -Release: 4%{?prerel1}%{?dist} +Release: 5%{?prerel1}%{?dist} License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel1}.tar.gz Source1: https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git/snapshot/kvm-unit-tests-20171020.tar.gz URL: http://www.tuned-project.org/ BuildArch: noarch -BuildRequires: python, systemd, desktop-file-utils +BuildRequires: python2, systemd, desktop-file-utils BuildRequires: gcc-x86_64-linux-gnu Requires(post): systemd, virt-what Requires(preun): systemd Requires(postun): systemd -Requires: python-decorator, dbus-python, pygobject3-base, python-pyudev -Requires: virt-what, python-configobj, ethtool, gawk, hdparm -Requires: util-linux, python2-perf, dbus, polkit, python-linux-procfs -Requires: python-schedutils +Requires: python2-decorator, python2-dbus, python2-gobject-base, python2-pyudev +Requires: virt-what, python2-configobj, ethtool, gawk, hdparm +Requires: util-linux, python2-perf, dbus, polkit, python2-linux-procfs +Requires: python2-schedutils %if 0%{?fedora} > 22 || 0%{?rhel} > 7 Recommends: kernel-tools %endif @@ -48,7 +48,7 @@ network and ATA harddisk devices are implemented. %package gtk Summary: GTK GUI for tuned Requires: %{name} = %{version}-%{release} -Requires: powertop, pygobject3-base, polkit +Requires: powertop, python2-gobject-base, polkit %description gtk GTK GUI that can control tuned and provides simple profile editor. @@ -404,6 +404,10 @@ fi %{_mandir}/man7/tuned-profiles-compat.7* %changelog +* Mon Feb 05 2018 Iryna Shcherbina - 2.9.0-5 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Wed Jan 31 2018 Jaroslav Škarvada - 2.9.0-4 - Fixed perf requirement, explicitly require python2-perf