From e0d456874280340db5225e58d89d2552c8143d70 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 3 Mar 2025 07:21:37 -0500 Subject: [PATCH] No longer need to patch pyproject.toml to keep maturin from stripping binaries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We were failing to adjust profile.release.strip correctly anyway; it’s in Cargo.toml --- python-cramjam.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/python-cramjam.spec b/python-cramjam.spec index 1a226e6..87c6ceb 100644 --- a/python-cramjam.spec +++ b/python-cramjam.spec @@ -81,11 +81,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.