used pygobject3-base instead of pygobject2
This commit is contained in:
parent
bab7da30aa
commit
2f25c2d6c3
14
tuned-2.2.2-pygobject-base.patch
Normal file
14
tuned-2.2.2-pygobject-base.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -up tuned-2.2.2/tuned/exports/dbus_exporter.py.orig tuned-2.2.2/tuned/exports/dbus_exporter.py
|
||||||
|
--- tuned-2.2.2/tuned/exports/dbus_exporter.py.orig 2013-03-07 11:33:50.000000000 +0100
|
||||||
|
+++ tuned-2.2.2/tuned/exports/dbus_exporter.py 2013-07-25 18:28:15.312578976 +0200
|
||||||
|
@@ -2,9 +2,9 @@ import interfaces
|
||||||
|
import decorator
|
||||||
|
import dbus.service
|
||||||
|
import dbus.mainloop.glib
|
||||||
|
-import gobject
|
||||||
|
import inspect
|
||||||
|
import threading
|
||||||
|
+from gi.repository import GObject as gobject
|
||||||
|
|
||||||
|
class DBusExporter(interfaces.ExporterInterface):
|
||||||
|
"""
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A dynamic adaptive system tuning daemon
|
Summary: A dynamic adaptive system tuning daemon
|
||||||
Name: tuned
|
Name: tuned
|
||||||
Version: 2.2.2
|
Version: 2.2.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
|
Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
|
||||||
URL: https://fedorahosted.org/tuned/
|
URL: https://fedorahosted.org/tuned/
|
||||||
@ -10,8 +10,9 @@ BuildRequires: python, systemd
|
|||||||
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, pygobject2, python-pyudev
|
Requires: python-decorator, dbus-python, pygobject3-base, python-pyudev
|
||||||
Requires: virt-what, python-configobj, ethtool
|
Requires: virt-what, python-configobj, ethtool
|
||||||
|
Patch0: tuned-2.2.2-pygobject-base.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The tuned package contains a daemon that tunes system settings dynamically.
|
The tuned package contains a daemon that tunes system settings dynamically.
|
||||||
@ -52,6 +53,7 @@ It can be also used to fine tune your system for specific scenarios.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%patch0 -p1 -b .pygobject-base
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -147,6 +149,9 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
|
|||||||
%{_prefix}/lib/tuned/spindown-disk
|
%{_prefix}/lib/tuned/spindown-disk
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-2
|
||||||
|
- used pygobject3-base instead of pygobject2
|
||||||
|
|
||||||
* Tue Mar 19 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-1
|
* Tue Mar 19 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-1
|
||||||
- new-release:
|
- new-release:
|
||||||
- cpu plugin: fixed cpupower workaround
|
- cpu plugin: fixed cpupower workaround
|
||||||
|
Loading…
Reference in New Issue
Block a user