No longer need to patch pyproject.toml to keep maturin from stripping binaries
We were failing to adjust profile.release.strip correctly anyway; it’s in Cargo.toml
This commit is contained in:
parent
1b551f270c
commit
fbf783c04f
1 changed files with 0 additions and 5 deletions
|
|
@ -77,11 +77,6 @@ License: %{shrink:
|
|||
%prep
|
||||
%autosetup -n cramjam-%{srcversion}
|
||||
|
||||
# Do not strip the compiled Python module; we need useful debuginfo. Upstream
|
||||
# set this intentionally, so this makes sense to keep downstream-only.
|
||||
tomcli set pyproject.toml false 'tool.maturin.strip'
|
||||
tomcli set pyproject.toml false 'profile.release.strip'
|
||||
|
||||
# Downstream-only: patch out the generate-import-lib feature, which is only
|
||||
# relevant on Windows, and which depends on the corresponding pyo3 feature –
|
||||
# which is not packaged for that reason.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue