Patch for maturin 1.8.0

This commit is contained in:
Benjamin A. Beasley 2025-01-03 09:32:11 -05:00
commit b60f820441
2 changed files with 30 additions and 1 deletions

View file

@ -15,6 +15,11 @@ URL: https://github.com/milesgranger/cramjam
# the GitHub source archive.
Source: %{url}/archive/v%{version}/cramjam-%{version}.tar.gz
# Updates for Maturin 1.8: add a version key in the project metadata
# https://github.com/milesgranger/cramjam/pull/196
# Cherry-picked to 2.8.3.
Patch: 0001-Add-a-version-key-in-the-project-table-196.patch
BuildRequires: python3-devel
BuildRequires: tomcli
BuildRequires: cargo-rpm-macros >= 24
@ -48,7 +53,7 @@ License: %{shrink:
%prep
%autosetup -n cramjam-%{version}
%autosetup -n cramjam-%{version} -p1
# Do not strip the compiled Python module; we need useful debuginfo. Upstream
# set this intentionally, so this makes sense to keep downstream-only.