From 16a454665422e495224318c604ea184dba787793bec3f3103396b9334d51fa21 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 17 Feb 2021 14:23:27 +0000 Subject: [PATCH] Fix metadata OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=97 --- python-M2Crypto.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index f33388a..78d44e0 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -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}"