From fbf783c04f5e5487a9344f7de1e522be60914fe2 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 891fdc9..4919113 100644 --- a/python-cramjam.spec +++ b/python-cramjam.spec @@ -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.