Patch for maturin 1.8.0

This commit is contained in:
Benjamin A. Beasley 2025-01-03 09:32:11 -05:00
commit 460c02b931
2 changed files with 24 additions and 0 deletions

20
196.patch Normal file
View file

@ -0,0 +1,20 @@
From 7a993e9d4418a5e44c0c775a11c438f248b333c7 Mon Sep 17 00:00:00 2001
From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
Date: Mon, 30 Dec 2024 19:49:23 +0530
Subject: [PATCH] Add a `version` key in the `[project]` table
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index 038e21ae..acb2a183 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,6 @@
[project]
name = "cramjam"
+version = "2.9.1"
keywords = ["compression", "decompression", "snappy", "zstd", "bz2", "gzip", "lz4", "brotli", "deflate", "blosc2"]
requires-python = ">=3.8"
license = { file = "LICENSE" }

View file

@ -30,6 +30,10 @@ Source1: get_source
%endif
# Updates for Maturin 1.8: add a version key in the project metadata
# https://github.com/milesgranger/cramjam/pull/196
Patch: %{url}/pull/196.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}