From 250dd09c9d6b2ea7914ec569f53d4099f3ca0adf Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sun, 28 Feb 2010 09:31:41 +0000 Subject: [PATCH] - Import gobject in gtkspinner.py. --- system-config-printer-import-gobject.patch | 21 +++++++++++++++++++++ system-config-printer.spec | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 system-config-printer-import-gobject.patch diff --git a/system-config-printer-import-gobject.patch b/system-config-printer-import-gobject.patch new file mode 100644 index 0000000..d5fac29 --- /dev/null +++ b/system-config-printer-import-gobject.patch @@ -0,0 +1,21 @@ +diff -up system-config-printer-1.1.93/gtkspinner.py.import-gobject system-config-printer-1.1.93/gtkspinner.py +--- system-config-printer-1.1.93/gtkspinner.py.import-gobject 2009-12-03 17:06:22.000000000 +0000 ++++ system-config-printer-1.1.93/gtkspinner.py 2010-02-28 09:24:55.338693167 +0000 +@@ -2,7 +2,8 @@ + + ## system-config-printer + +-## Copyright (C) 2009 Tim Waugh ++## Copyright (C) 2009, 2010 Red Hat, Inc ++## Author: Tim Waugh + + ## This program is free software; you can redistribute it and/or modify + ## it under the terms of the GNU General Public License as published by +@@ -19,6 +20,7 @@ + ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + import glib ++import gobject + import gtk + + class Spinner: diff --git a/system-config-printer.spec b/system-config-printer.spec index d9c968c..525c228 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -7,7 +7,7 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.1.93 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://cyberelk.net/tim/software/system-config-printer/ Group: System Environment/Base @@ -17,6 +17,7 @@ Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2 Patch1: system-config-printer-no-epydoc.patch Patch2: system-config-printer-lowercase-mfg-mdl.patch +Patch3: system-config-printer-import-gobject.patch BuildRequires: cups-devel >= 1.2 BuildRequires: python-devel >= 2.4 @@ -77,6 +78,7 @@ printers. %setup -q -a 1 -a 2 %patch1 -p1 -b .no-epydoc %patch2 -p1 -b .lowercase-mfg-mdl +%patch3 -p1 -b .import_gobject %build %configure --with-udev-rules --with-polkit-1 @@ -193,6 +195,9 @@ rm -rf %buildroot exit 0 %changelog +* Sun Feb 28 2010 Tim Waugh - 1.1.93-2 +- Import gobject in gtkspinner.py. + * Sat Feb 27 2010 Tim Waugh - 1.1.93-1 - 1.1.93.