diff --git a/python-cryptography.changes b/python-cryptography.changes index a62d39d..616aef7 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 15 08:51:52 UTC 2024 - Andreas Schneider + +- Fix building on SLE based distributions + ------------------------------------------------------------------- Mon Aug 12 20:36:00 UTC 2024 - Matej Cepl diff --git a/python-cryptography.spec b/python-cryptography.spec index e8bd730..e6a0122 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -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