Flip off lock = true maturin config

Upstream switched to maturin in v43[0]. Since we fiddle with the
lockfile maturin wants to update it since upstream configures `lock =
true`. Turn that off.

This fixes the v43 build in rawhide.

[0] https://github.com/pyca/cryptography/pull/8815

[skip changelog]
This commit is contained in:
Jeremy Cline 2024-07-30 11:15:34 -04:00
commit fdf62093b4
No known key found for this signature in database

View file

@ -72,6 +72,7 @@ recipes to Python developers.
%autosetup -p1 -n %{srcname}-%{version}
%if 0%{?fedora}
%cargo_prep
sed -i 's/locked = true//g' pyproject.toml
rm src/rust/Cargo.lock
%else
# RHEL: use vendored Rust crates