diff --git a/0001-Lower-cc-dependency.patch b/0001-Lower-cc-dependency.patch index 55e435f..80da467 100644 --- a/0001-Lower-cc-dependency.patch +++ b/0001-Lower-cc-dependency.patch @@ -1,20 +1,28 @@ +From 72638fcabdc25d94de9c99567fc2ecc880a181aa Mon Sep 17 00:00:00 2001 +From: Jeremy Cline +Date: Tue, 5 May 2026 07:43:30 -0400 +Subject: [PATCH] Lower cc dependency + +Fedora has 1.2.62 and 63 is just a dep bump + +Signed-off-by: Jeremy Cline +--- + Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + diff --git a/Cargo.toml b/Cargo.toml +index 79ea7aa3c..e8b1a9af9 100644 --- a/Cargo.toml +++ b/Cargo.toml -@@ -23,13 +23,13 @@ license = "Apache-2.0 OR BSD-3-Clause" +@@ -23,7 +23,7 @@ license = "Apache-2.0 OR BSD-3-Clause" [workspace.dependencies] asn1 = { version = "0.24.1", default-features = false } --base64 = "0.23" -+base64 = "0.22" + base64 = "0.23" -cc = "1.2.63" +cc = "1.2.62" cfg-if = "1" foreign-types = "0.3" foreign-types-shared = "0.1" - openssl = "0.10.80" - openssl-sys = "0.9.116" --pem = { version = "4", default-features = false } -+pem = { version = "3", default-features = false } - pyo3 = { version = "0.29", features = ["abi3", "abi3t"] } - pyo3-build-config = { version = "0.29" } - self_cell = "1" +-- +2.55.0 + diff --git a/python-cryptography.spec b/python-cryptography.spec index 70eec2c..f6f7a4a 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -25,7 +25,8 @@ Source0: https://github.com/pyca/cryptography/archive/%{version}/%{srcnam Source1: cryptography-%{version}-vendor.tar.bz2 Source2: conftest-skipper.py -# Temporarily drop cc and some other deps +# Temporarily drop cc dependency to .62 since it's the same as .63 +# except for a dependency bump Patch: 0001-Lower-cc-dependency.patch ExclusiveArch: %{rust_arches}