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): """