Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
a7b8741c9b
commit
51683c39e3
18
tuned.spec
18
tuned.spec
@ -9,21 +9,21 @@
|
|||||||
Summary: A dynamic adaptive system tuning daemon
|
Summary: A dynamic adaptive system tuning daemon
|
||||||
Name: tuned
|
Name: tuned
|
||||||
Version: 2.9.0
|
Version: 2.9.0
|
||||||
Release: 4%{?prerel1}%{?dist}
|
Release: 5%{?prerel1}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel1}.tar.gz
|
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
|
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/
|
URL: http://www.tuned-project.org/
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python, systemd, desktop-file-utils
|
BuildRequires: python2, systemd, desktop-file-utils
|
||||||
BuildRequires: gcc-x86_64-linux-gnu
|
BuildRequires: gcc-x86_64-linux-gnu
|
||||||
Requires(post): systemd, virt-what
|
Requires(post): systemd, virt-what
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
Requires: python-decorator, dbus-python, pygobject3-base, python-pyudev
|
Requires: python2-decorator, python2-dbus, python2-gobject-base, python2-pyudev
|
||||||
Requires: virt-what, python-configobj, ethtool, gawk, hdparm
|
Requires: virt-what, python2-configobj, ethtool, gawk, hdparm
|
||||||
Requires: util-linux, python2-perf, dbus, polkit, python-linux-procfs
|
Requires: util-linux, python2-perf, dbus, polkit, python2-linux-procfs
|
||||||
Requires: python-schedutils
|
Requires: python2-schedutils
|
||||||
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
|
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
|
||||||
Recommends: kernel-tools
|
Recommends: kernel-tools
|
||||||
%endif
|
%endif
|
||||||
@ -48,7 +48,7 @@ network and ATA harddisk devices are implemented.
|
|||||||
%package gtk
|
%package gtk
|
||||||
Summary: GTK GUI for tuned
|
Summary: GTK GUI for tuned
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: powertop, pygobject3-base, polkit
|
Requires: powertop, python2-gobject-base, polkit
|
||||||
|
|
||||||
%description gtk
|
%description gtk
|
||||||
GTK GUI that can control tuned and provides simple profile editor.
|
GTK GUI that can control tuned and provides simple profile editor.
|
||||||
@ -404,6 +404,10 @@ fi
|
|||||||
%{_mandir}/man7/tuned-profiles-compat.7*
|
%{_mandir}/man7/tuned-profiles-compat.7*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 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 <jskarvad@redhat.com> - 2.9.0-4
|
* Wed Jan 31 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-4
|
||||||
- Fixed perf requirement, explicitly require python2-perf
|
- Fixed perf requirement, explicitly require python2-perf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user