From 0d7db7d607e9d7ef038055d75b8d55f0f4fba625 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 30 Sep 2021 09:55:19 +0200 Subject: [PATCH] Require rust-asn1 >= 0.6.4 --- python-cryptography.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 41eef9c..811c380 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 35.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: PyCA's cryptography library License: ASL 2.0 or BSD @@ -33,6 +33,8 @@ BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools-rust >= 0.11.3 BuildRequires: python%{python3_pkgversion}-six >= 1.4.1 +# Cargo.toml requires asn1 0.6, but package FTBFS with 0.6.1 +BuildRequires: rust-asn1-devel >= 0.6.4 %if %{with tests} %if 0%{?fedora} @@ -115,6 +117,9 @@ PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/%{srcname}-%{version}-py*.egg-info %changelog +* Thu Sep 30 2021 Christian Heimes - 35.0.0-2 +- Require rust-asn1 >= 0.6.4 + * Thu Sep 30 2021 Christian Heimes - 35.0-1 - Update to 35.0.0 (#2009117)