Hello community, here is the log from the commit of package python-gpgme for openSUSE:12.1:Update:Test checked in at 2012-02-22 16:34:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update:Test/python-gpgme (Old) and /work/SRC/openSUSE:12.1:Update:Test/.python-gpgme.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gpgme", Maintainer is "jmate...@suse.com" Changes: -------- --- /work/SRC/openSUSE:12.1:Update:Test/python-gpgme/python-gpgme.changes 2012-02-22 16:34:04.000000000 +0100 +++ /work/SRC/openSUSE:12.1:Update:Test/.python-gpgme.new/python-gpgme.changes 2012-02-22 16:34:04.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Feb 22 13:07:05 UTC 2012 - fcro...@suse.com + +- Fix incorrect gpgme initialization (bnc#745257), patch extracted + by Benjamin Haskell. + +------------------------------------------------------------------- New: ---- pygpgme-0.1-context.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gpgme.spec ++++++ --- /var/tmp/diff_new_pack.3Bkdqa/_old 2012-02-22 16:34:04.000000000 +0100 +++ /var/tmp/diff_new_pack.3Bkdqa/_new 2012-02-22 16:34:04.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-gpgme (Version 0.1) +# spec file for package python-gpgme # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -15,21 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: python-gpgme Version: 0.1 -Release: 98 +Release: 0 Summary: A Python module for working with OpenPGP messages +License: LGPL-2.1+ Group: Development/Libraries/Python -License: LGPL v2.1 or later Url: http://pypi.python.org/pypi/pygpgme Source: pygpgme-%{version}.tar.bz2 Patch: pygpgme-0.1-py23.patch +Patch1: pygpgme-0.1-context.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel BuildRequires: gpgme-devel +BuildRequires: python-devel %description PyGPGME is a Python module that lets you sign, verify, encrypt and @@ -46,6 +45,7 @@ %prep %setup -q -n pygpgme-%{version} %patch -p1 +%patch1 -p2 %build #CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build ++++++ pygpgme-0.1-context.patch ++++++ Based on suggestion found at: http://lists.mandriva.com/bugs/2010-05/msg03921.php --- a/pygpgme-0.1/src/pygpgme-context.c +++ b/pygpgme-0.1/src/pygpgme-context.c @@ -83,6 +83,7 @@ static int pygpgme_context_init(PyGpgmeContext *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { NULL }; + gpgme_check_version(NULL); if (!PyArg_ParseTupleAndKeywords(args, kwargs, "", kwlist)) return -1; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org