Accepting request 1201401 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1201401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cryptography?expand=0&rev=93
This commit is contained in:
Ana Guerrero 2024-09-18 13:26:47 +00:00 committed by Git OBS Bridge
commit 8c4e8aa051
2 changed files with 8 additions and 1 deletions

View File

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

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