diff --git a/python-cryptography.changes b/python-cryptography.changes index cc42851..a62d39d 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 12 20:36:00 UTC 2024 - Matej Cepl + +- Fix building optimized binaries with debuginfo. + ------------------------------------------------------------------- Wed Jul 31 21:45:43 UTC 2024 - Matej Cepl diff --git a/python-cryptography.spec b/python-cryptography.spec index 024768d..a9b11f6 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -91,10 +91,13 @@ functions. %autosetup -a2 -p1 -n cryptography-%{version} %build +export CARGO_NET_OFFLINE=true +export CARGO_PROFILE_RELEASE_DEBUG=true +export CARGO_PROFILE_SPLIT_DEBUGINFO=off cd src/rust tar xfv %{S:2} rm -v Cargo.lock -cargo build +cargo build --release cd - # https://github.com/pyca/cryptography/issues/9023 diff --git a/vendor.tar.zst b/vendor.tar.zst index ccb563c..dc929a0 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1ac7727c4e81168618b012aefd3a0bec71280701a76faae14d4981605a438874 -size 1949563 +oid sha256:0189963d634540b54819a21f8a5ebac6b2a60f54e21369ba98259e743e8b08a7 +size 1950998