diff --git a/python-cryptography.spec b/python-cryptography.spec index f87515bfe4e5c14415f2e694a4cc2fd944feb84d..f1bd63564a8f19836988ec8fab3723be8451941b 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -6,7 +6,7 @@ Summary: PyCA's cryptography library Name: python-%{srcname} Version: 41.0.4 -Release: 3%{?dist} +Release: 4%{?dist} License: ASL 2.0 or BSD URL: https://cryptography.io/en/latest/ Source0: https://github.com/pyca/cryptography/archive/%{version}/%{srcname}-%{version}.tar.gz @@ -16,7 +16,7 @@ Source1: cryptography-%{version}-vendor.tar.bz2 #upstream:https://github.com/pyca/cryptography/pull/9926/commits/66cb448876b1e95b637461d13560b970bae09e08 Patch0001: fix-CVE-2023-49083.patch -BuildRequires: gcc gnupg2 cargo rust +BuildRequires: gcc gnupg2 cargo rust rust-toolset BuildRequires: openssl-devel BuildRequires: python%{python3_pkgversion}-cffi >= 1.7 BuildRequires: python%{python3_pkgversion}-devel @@ -53,19 +53,10 @@ and key derivation functions. %prep %autosetup -p1 -n %{srcname}-%{version} - -tar -jxf %{SOURCE1} -mkdir .cargo -cat > .cargo/config < - 41.0.4-4 +- [Type] bugfix +- [DESC] adapt cargo_prep macro + * Tue Jun 11 2024 Pengda Dou - 41.0.4-3 - [Type] other - [DESC] add support for loongarch64