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:
parent
1b46516713
commit
eae8858b3e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 20:36:00 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Fix building optimized binaries with debuginfo.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 21:45:43 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ac7727c4e81168618b012aefd3a0bec71280701a76faae14d4981605a438874
|
||||
size 1949563
|
||||
oid sha256:0189963d634540b54819a21f8a5ebac6b2a60f54e21369ba98259e743e8b08a7
|
||||
size 1950998
|
||||
|
Loading…
Reference in New Issue
Block a user