Hello community, here is the log from the commit of package gtg for openSUSE:Factory checked in at 2013-02-07 14:17:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gtg (Old) and /work/SRC/openSUSE:Factory/.gtg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gtg", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/gtg/gtg.changes 2013-01-07 15:17:45.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gtg.new/gtg.changes 2013-02-07 14:17:05.000000000 +0100 @@ -1,0 +2,8 @@ +Sat Jan 26 16:05:57 UTC 2013 - zaitor@opensuse.org + +- Add gtg-Correct-handling-of-liblarch-API-1.0.patch, gtg now + requires a minimum of version 1,2 of python-liblarch. It not + really needed, but users will get an informative reason as to why + gtg does not run. + +------------------------------------------------------------------- New: ---- gtg-Correct-handling-of-liblarch-API-1.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtg.spec ++++++ --- /var/tmp/diff_new_pack.bs3XSP/_old 2013-02-07 14:17:06.000000000 +0100 +++ /var/tmp/diff_new_pack.bs3XSP/_new 2013-02-07 14:17:06.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gtg # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Group: Productivity/Office/Organizers Url: https://gtg.fritalk.com Source: http://launchpad.net/gtg/0.3/%{version}/+download/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM gtg-Correct-handling-of-liblarch-API-1.0.patch bgo#800684 zaitor@opensuse.org -- Output a proper errormsg if installed python-liblarch is to old. +Patch: gtg-Correct-handling-of-liblarch-API-1.0.patch BuildRequires: dbus-1 # dbus-1 is only required for file ownerships BuildRequires: fdupes @@ -34,8 +36,8 @@ Requires: python-configobj Requires: python-gobject2 Requires: python-gtk -Requires: python-liblarch -Requires: python-liblarch_gtk +Requires: python-liblarch >= 2.1 +Requires: python-liblarch_gtk >= 2.1 Requires: python-xdg Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -54,6 +56,7 @@ %lang_package %prep %setup -q +%patch %build %{__python} setup.py build ++++++ gtg-Correct-handling-of-liblarch-API-1.0.patch ++++++ === modified file 'GTG/tools/import_liblarch.py' --- GTG/tools/import_liblarch.py 2012-12-18 09:50:32 +0000 +++ GTG/tools/import_liblarch.py 2013-01-12 15:52:17 +0000 @@ -78,11 +78,17 @@ """ is_liblarch_compatible = False if not is_liblarch_compatible: + try: + liblarch_version = liblarch.API + except AttributeError: + # Liblarch 1.0 has lowercased API variable + liblarch_version = liblarch.api + print """Your liblarch copy has its API at version %s but your GTG copy need liblarch API version %s You may fix that by downloading the last version of liblarch with -%s """ % (liblarch.API, REQUIRED_LIBLARCH_API, GIT_CMD) +%s """ % (liblarch_version, REQUIRED_LIBLARCH_API, GIT_CMD) return False return True -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org