From 6b477869a52c4e3768a3abe72ec818ec79e629fd Mon Sep 17 00:00:00 2001 From: jackeyji Date: Fri, 26 Jul 2024 11:15:28 +0800 Subject: [PATCH] adapt cargo_prep macro Signed-off-by: jackeyji --- python-cryptography.spec | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index f87515b..f1bd635 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 -- Gitee