forked from pool/python-cryptography
Accepting request 1201230 from home:gladiac:mailman
- Fix building on SLE based distributions OBS-URL: https://build.opensuse.org/request/show/1201230 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=228
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 15 08:51:52 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Fix building on SLE based distributions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 20:36:00 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-cryptography
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
@@ -95,6 +95,8 @@ functions.
|
||||
export CARGO_NET_OFFLINE=true
|
||||
export CARGO_PROFILE_RELEASE_DEBUG=true
|
||||
export CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO=off
|
||||
# https://pyo3.rs/main/building-and-distribution#configuring-the-python-version
|
||||
%python_expand export PYO3_PYTHON="%{_bindir}/$python"
|
||||
cd src/rust
|
||||
tar xfv %{S:2}
|
||||
rm -v Cargo.lock
|
||||
|
Reference in New Issue
Block a user