From 15ec06ae144b463d1055c4606d019bff11217b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Thu, 25 Jul 2013 18:37:59 +0200 Subject: [PATCH] tuned: switched to lightweighted pygobject3-base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- tuned.spec | 2 +- tuned/exports/dbus_exporter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tuned.spec b/tuned.spec index f4b8e87..ab5c6fb 100644 --- a/tuned.spec +++ b/tuned.spec @@ -10,7 +10,7 @@ BuildRequires: python, systemd Requires(post): systemd, virt-what Requires(preun): 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 %description diff --git a/tuned/exports/dbus_exporter.py b/tuned/exports/dbus_exporter.py index b116c63..c774ab4 100644 --- a/tuned/exports/dbus_exporter.py +++ b/tuned/exports/dbus_exporter.py @@ -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): """