Hello community, here is the log from the commit of package python-gpgme for openSUSE:Factory checked in at 2012-02-23 15:34:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gpgme (Old) and /work/SRC/openSUSE:Factory/.python-gpgme.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-gpgme", Maintainer is "JMatejek@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/python-gpgme/python-gpgme.changes 2011-09-23 12:42:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-gpgme.new/python-gpgme.changes 2012-02-23 15:34:34.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Feb 22 13:07:05 UTC 2012 - fcrozat@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.f7ckrV/_old 2012-02-23 15:34:35.000000000 +0100 +++ /var/tmp/diff_new_pack.f7ckrV/_new 2012-02-23 15:34:35.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 -Group: Development/Libraries/Python License: LGPL-2.1+ +Group: Development/Libraries/Python 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+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org