[tuned] used pygobject3-base instead of pygobject2
Jaroslav Škarvada
jskarvad at fedoraproject.org
Thu Jul 25 16:41:13 UTC 2013
commit 2f25c2d6c359a6e252accef67c9c62e26e372014
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Thu Jul 25 18:41:00 2013 +0200
used pygobject3-base instead of pygobject2
tuned-2.2.2-pygobject-base.patch | 14 ++++++++++++++
tuned.spec | 9 +++++++--
2 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/tuned-2.2.2-pygobject-base.patch b/tuned-2.2.2-pygobject-base.patch
new file mode 100644
index 0000000..0e9090f
--- /dev/null
+++ b/tuned-2.2.2-pygobject-base.patch
@@ -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):
+ """
diff --git a/tuned.spec b/tuned.spec
index f4b8e87..69a14aa 100644
--- a/tuned.spec
+++ b/tuned.spec
@@ -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 at redhat.com> - 2.2.2-2
+- used pygobject3-base instead of pygobject2
+
* Tue Mar 19 2013 Jaroslav Škarvada <jskarvad at redhat.com> - 2.2.2-1
- new-release:
- cpu plugin: fixed cpupower workaround
More information about the scm-commits
mailing list