Accepting request 400229 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/400229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2016-06-12 16:53:07 +00:00 committed by Git OBS Bridge
commit a4b608c9c1
5 changed files with 14 additions and 23 deletions

View File

@ -1,12 +0,0 @@
diff -ur M2Crypto-0.22.5/SWIG/_ssl.i M2Crypto-0.22.5_fix/SWIG/_ssl.i
--- M2Crypto-0.22.5/SWIG/_ssl.i 2015-10-13 16:34:30.000000000 +0200
+++ M2Crypto-0.22.5_fix/SWIG/_ssl.i 2015-12-07 14:24:14.302731623 +0100
@@ -52,8 +52,6 @@
%rename(ssl_get_alert_desc_v) SSL_alert_desc_string_long;
extern const char *SSL_alert_desc_string_long(int);
-%rename(sslv2_method) SSLv2_method;
-extern SSL_METHOD *SSLv2_method(void);
%rename(sslv3_method) SSLv3_method;
extern SSL_METHOD *SSLv3_method(void);
%rename(sslv23_method) SSLv23_method;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5ce9b09062a2c453e9d9c28dde96b7f90834313e60f419b143d751eb4109fdc
size 80986

3
M2Crypto-0.24.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80a56441a1d2c0cf27e725be7554c92598b938fc8767ee2c71fdbc2fdc055ee8
size 184457

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jun 3 13:05:13 UTC 2016 - jweberhofer@weberhofer.at
- update to 0.24.0
* No changelog provided
- README is no longer included
- Removed obsolete python-M2Crypto-SWIG-3.0.5.patch
-------------------------------------------------------------------
Mon Dec 7 13:29:40 UTC 2015 - opensuse@dstoecker.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-M2Crypto
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,13 @@
Name: python-M2Crypto
Version: 0.22.5
Version: 0.24.0
Release: 0
Url: https://gitlab.com/m2crypto/m2crypto
Summary: Crypto and SSL toolkit for Python
License: MIT and ZPL-2.0 and BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
# PATCH-FIX-UPSTREAM M2Crypto-0.22.5-SSLv2_link_error.patch -- remove useless reference to SSL version 2
Patch0: M2Crypto-0.22.5-SSLv2_link_error.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl
BuildRequires: openssl-devel
@ -58,9 +56,6 @@ messenger for Zope.
%prep
%setup -n M2Crypto-%{version}
%if 0%{?suse_version} >= 1315
%patch0 -p1
%endif
%build
CFLAGS="%{optflags}" python setup.py build
@ -70,7 +65,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
%doc README
#%%doc README
%{python_sitearch}/*
%changelog