[packages/python-M2Crypto] - up to 0.27.0

arekm arekm at pld-linux.org
Sun Oct 29 10:45:52 CET 2017


commit cb38e2350f71f32a0b22a63e0d6d503af944ee94
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Oct 29 10:45:45 2017 +0100

    - up to 0.27.0

 python-M2Crypto-swig.patch | 9 +++++----
 python-M2Crypto.spec       | 8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec
index b64d433..432c587 100644
--- a/python-M2Crypto.spec
+++ b/python-M2Crypto.spec
@@ -5,13 +5,13 @@
 Summary:	Python interface to OpenSSL
 Summary(pl.UTF-8):	Interfejs Pythona do OpenSSL
 Name:		python-M2Crypto
-Version:	0.24.0
+Version:	0.27.0
 Release:	1
 License:	BSD-like
 Group:		Libraries/Python
 #Source0Download: https://pypi.python.org/simple/m2crypto/
-Source0:	https://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
-# Source0-md5:	8e87235942c76d1ba9f999ee33764fdb
+Source0:	https://pypi.python.org/packages/01/bd/a41491718f9e2bebab015c42b5be7071c6695acfa301e3fc0480bfd6a15b/M2Crypto-%{version}.tar.gz
+# Source0-md5:	4477bd6b2835560c73982476dba5e515
 Patch0:		%{name}-store2ssl.patch
 Patch1:		%{name}-swig.patch
 URL:		https://gitlab.com/m2crypto/m2crypto
@@ -72,7 +72,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CHANGES LICENCE README.rst
 %dir %{py_sitedir}/M2Crypto
-%attr(755,root,root) %{py_sitedir}/M2Crypto/__m2crypto.so
+%attr(755,root,root) %{py_sitedir}/M2Crypto/_m2crypto.so
 %{py_sitedir}/M2Crypto/*.py[co]
 %dir %{py_sitedir}/M2Crypto/PGP
 %{py_sitedir}/M2Crypto/PGP/*.py[co]
diff --git a/python-M2Crypto-swig.patch b/python-M2Crypto-swig.patch
index e2fca6d..ad40a14 100644
--- a/python-M2Crypto-swig.patch
+++ b/python-M2Crypto-swig.patch
@@ -31,12 +31,12 @@
              XN_FLAG_DUMP_UNKNOWN_FIELDS);
  
  /* Cribbed from rsa.h. */
---- m2crypto-0.18.1/SWIG/_asn1.i.orig	2007-05-09 00:21:51.000000000 +0200
-+++ m2crypto-0.18.1/SWIG/_asn1.i	2007-11-25 21:43:56.039258137 +0100
-@@ -95,11 +95,11 @@
- %constant int ASN1_STRFLGS_UTF8_CONVERT = 0x10;
+--- M2Crypto-0.27.0/SWIG/_asn1.i~	2017-10-05 22:43:17.000000000 +0200
++++ M2Crypto-0.27.0/SWIG/_asn1.i	2017-10-29 10:43:11.639300285 +0100
+@@ -107,11 +107,11 @@ extern int ASN1_INTEGER_cmp(ASN1_INTEGER
  %constant int ASN1_STRFLGS_DUMP_UNKNOWN = 0x100;
  %constant int ASN1_STRFLGS_DUMP_DER = 0x200;
+ 
 -%constant int ASN1_STRFLGS_RFC2253 = (ASN1_STRFLGS_ESC_2253 | \
 -                ASN1_STRFLGS_ESC_CTRL | \
 -                ASN1_STRFLGS_ESC_MSB | \
@@ -50,3 +50,4 @@
                  ASN1_STRFLGS_DUMP_DER);
  
  %inline %{
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-M2Crypto.git/commitdiff/cb38e2350f71f32a0b22a63e0d6d503af944ee94



More information about the pld-cvs-commit mailing list