Hello community,

here is the log from the commit of package python-gpgme for openSUSE:11.4
checked in at Wed Feb 22 16:32:56 CET 2012.



--------
--- old-versions/11.4/all/python-gpgme/python-gpgme.changes     2008-02-01 
14:25:05.000000000 +0100
+++ 11.4/python-gpgme/python-gpgme.changes      2012-02-22 14:15:13.000000000 
+0100
@@ -1,0 +2,6 @@
+Wed Feb 22 13:07:05 UTC 2012 - [email protected]
+
+- Fix incorrect gpgme initialization (bnc#745257), patch extracted
+  by Benjamin Haskell.
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/python-gpgme
Destination is old-versions/11.4/UPDATES/all/python-gpgme
calling whatdependson for 11.4-i586


New:
----
  pygpgme-0.1-context.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-gpgme.spec ++++++
--- /var/tmp/diff_new_pack.43NTH4/_old  2012-02-22 16:31:36.000000000 +0100
+++ /var/tmp/diff_new_pack.43NTH4/_new  2012-02-22 16:31:36.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,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           python-gpgme
 Version:        0.1
-Release:        98
+Release:        106.<RELEASE107>
 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 +46,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;
continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to