15
0

Accepting request 399978 from home:weberho:branches:devel:languages:python

- update to 0.24.0
  * No changelog provided
- README is no longer included
- Removed obsolete python-M2Crypto-SWIG-3.0.5.patch

OBS-URL: https://build.opensuse.org/request/show/399978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=28
This commit is contained in:
2016-06-06 11:11:43 +00:00
committed by Git OBS Bridge
parent 9efb17b334
commit 69125dab0d
5 changed files with 14 additions and 23 deletions

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