[firmware-tools] Comment out the import of unused gnome.ui module
Praveen K Paladugu
praveenp at fedoraproject.org
Thu Oct 10 21:05:43 UTC 2013
commit c9b08f123c19e816e7da83348dc26fd2a25c8dd3
Author: praveenp <praveen_paladugu at dell.com>
Date: Thu Oct 10 16:04:30 2013 -0500
Comment out the import of unused gnome.ui module
comment-gnome-import.patch | 13 +++++++++++++
firmware-tools.spec | 2 ++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/comment-gnome-import.patch b/comment-gnome-import.patch
new file mode 100644
index 0000000..3766fa6
--- /dev/null
+++ b/comment-gnome-import.patch
@@ -0,0 +1,13 @@
+diff -up firmware-tools-2.1.15/bin/inventory_firmware_gui.orig firmware-tools-2.1.15/bin/inventory_firmware_gui
+--- firmware-tools-2.1.15/bin/inventory_firmware_gui.orig 2013-10-10 15:57:25.000000000 -0500
++++ firmware-tools-2.1.15/bin/inventory_firmware_gui 2013-10-10 15:57:42.000000000 -0500
+@@ -19,7 +19,7 @@ import traceback
+ pygtk.require('2.0')
+ import gtk, gtk.glade, pango
+ import gobject
+-import gnome.ui
++#import gnome.ui
+
+ # these are replaced by autotools when installed.
+ __VERSION__="unreleased_version"
+
diff --git a/firmware-tools.spec b/firmware-tools.spec
index 8fac248..e81d5c7 100644
--- a/firmware-tools.spec
+++ b/firmware-tools.spec
@@ -20,6 +20,7 @@ License: GPLv2+ or OSL 2.1
URL: http://linux.dell.com/libsmbios/download/
Source0: http://linux.dell.com/libsmbios/download/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: comment-gnome-import.patch
# SUSE doesnt have noarch python, so for SUSE, always build arch-dependent
%if ! 0%{?suse_version}
@@ -45,6 +46,7 @@ a framework for BIOS and firmware updates.
%prep
%setup -q
+%patch0 -p1
%build
More information about the scm-commits
mailing list