14
0

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:
2024-09-16 11:21:15 +00:00
committed by Git OBS Bridge
parent ee194dc64a
commit f7ba2ec349
2 changed files with 8 additions and 1 deletions

View File

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