used pygobject3-base instead of pygobject2

This commit is contained in:
Jaroslav Škarvada 2013-07-25 18:41:00 +02:00
parent bab7da30aa
commit 2f25c2d6c3
2 changed files with 21 additions and 2 deletions

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

View File

@ -1,7 +1,7 @@
Summary: A dynamic adaptive system tuning daemon
Name: tuned
Version: 2.2.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
URL: https://fedorahosted.org/tuned/
@ -10,8 +10,9 @@ 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
Patch0: tuned-2.2.2-pygobject-base.patch
%description
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
%setup -q
%patch0 -p1 -b .pygobject-base
%build
@ -147,6 +149,9 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
%{_prefix}/lib/tuned/spindown-disk
%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
- new-release:
- cpu plugin: fixed cpupower workaround