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 | \
ASN1_STRFLGS_DUMP_DER);
%inline %{
+
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
%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]