forked from pool/python-cryptography
- 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:
@@ -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
|
||||
|
Reference in New Issue
Block a user