15
0
2018-11-09 14:21:49 +00:00
committed by Git OBS Bridge
parent 51970a19dc
commit e0dc617125
4 changed files with 15 additions and 6 deletions

View File

@@ -19,14 +19,13 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-M2Crypto
Version: 0.31.0~pre1
Version: 0.31.0
Release: 0
Summary: Crypto and SSL toolkit for Python
License: MIT
Group: Development/Languages/Python
Url: https://gitlab.com/m2crypto/m2crypto
Source: https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
Patch0: openssl-1_1_1-compat.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
@@ -80,7 +79,6 @@ Documentation for the Crypto and SSL toolkit for Python
%prep
# %%setup -q -n M2Crypto-%%{version}
%setup -q -n M2Crypto-0.31.0
%autopatch -p1
%build
export CFLAGS="%{optflags}"