Matej Cepl 2021-02-17 14:23:27 +00:00 committed by Git OBS Bridge
parent a86aefab3a
commit 16a4546654

View File

@ -27,6 +27,9 @@ Group: Development/Languages/Python
URL: https://gitlab.com/m2crypto/m2crypto
Source0: https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
Source1: https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz.asc
# PATCH-FIX-UPSTREAM python-M2Crypto-Allow-on-UNABLE_TO_VERIFY_LEAF_SIGNATURE.patch mcepl@suse.com
# https://salsa.debian.org/python-team/packages/m2crypto/-/commit/e0e9ad5cfff86383dabbb92540c0a4892cb4c456
# Fixes incompatibility with the modern crypto policies
Patch0: python-M2Crypto-Allow-on-UNABLE_TO_VERIFY_LEAF_SIGNATURE.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module parameterized}
@ -80,8 +83,7 @@ messenger for Zope.
Documentation for the Crypto and SSL toolkit for Python
%prep
%setup -q -n M2Crypto-%{version}
%patch0 -p1
%autosetup -p1 -n M2Crypto-%{version}
%build
export CFLAGS="%{optflags}"