14
0

- Fix building optimized binaries with debuginfo.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=224
This commit is contained in:
2024-08-12 20:36:26 +00:00
committed by Git OBS Bridge
parent b64cb99724
commit 753c1564b0
3 changed files with 11 additions and 3 deletions

View File

@@ -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