diff --git a/.gitignore b/.gitignore index 1429bce..72e11ac 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /cramjam-61564e7761e38e5ec55e7939ccd6a276c2c55d11-filtered.tar.gz /cramjam-cdc7d307d0f592f89b3319a7037fd875a5371ef3-filtered.tar.gz /cramjam-2.10.0rc1.tar.gz +/cramjam-2.10.0.tar.gz diff --git a/217c375c2a2f96e28a1b3987f0eb5c730b4b361e.patch b/217c375c2a2f96e28a1b3987f0eb5c730b4b361e.patch deleted file mode 100644 index 911e068..0000000 --- a/217c375c2a2f96e28a1b3987f0eb5c730b4b361e.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 217c375c2a2f96e28a1b3987f0eb5c730b4b361e Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Tue, 8 Apr 2025 09:40:09 -0400 -Subject: [PATCH] Update PyO3 to 0.24 - ---- - Cargo.toml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Cargo.toml b/Cargo.toml -index bf9b6831..0ab9473f 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -65,11 +65,11 @@ wasm32-compat = ["libcramjam/wasm32-compat"] - - - [dependencies] --pyo3 = { version = "^0.23", default-features = false, features = ["macros"] } -+pyo3 = { version = "^0.24", default-features = false, features = ["macros"] } - libcramjam = { version = "^0.7", default-features = false } - - [build-dependencies] --pyo3-build-config = "^0.23" -+pyo3-build-config = "^0.24" - - [profile.release] - strip = true diff --git a/python-cramjam.rpmlintrc b/python-cramjam.rpmlintrc index 855b921..d8cdc60 100644 --- a/python-cramjam.rpmlintrc +++ b/python-cramjam.rpmlintrc @@ -2,5 +2,3 @@ addFilter(r"spelling-error.*'de'") # At least some of these sections are implicit due to declarative buildsystem addFilter(r" no-%(prep|build|install)-section") -# Implicit due to use of declarative build system -addFilter(r" patch-not-applied ") diff --git a/python-cramjam.spec b/python-cramjam.spec index 1df323c..7e46d04 100644 --- a/python-cramjam.spec +++ b/python-cramjam.spec @@ -4,7 +4,7 @@ #global snapdate YYYYMMDD Name: python-cramjam -Version: 2.10.0~rc1 +Version: 2.10.0 Release: %autorelease Summary: Thin Python bindings to de/compression algorithms in Rust @@ -36,10 +36,6 @@ Source1: get_source BuildSystem: pyproject BuildOption(install): -l cramjam -# Update PyO3 to 0.24 -# https://github.com/milesgranger/cramjam/pull/207 -Patch: %{url}/pull/207/commits/217c375c2a2f96e28a1b3987f0eb5c730b4b361e.patch - BuildRequires: tomcli >= 0.8.0 BuildRequires: cargo-rpm-macros >= 24 diff --git a/sources b/sources index c425e36..d44109e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cramjam-2.10.0rc1.tar.gz) = b1aa5481d0c4d0c44389f20bc2933d8b6979636dfaf2aca1ef83abb462134f2ab421993a5730471b58b49e55614100bb8279916ed68f4a7477453b82407a7c0a +SHA512 (cramjam-2.10.0.tar.gz) = 0c44643844c6278160d9e2efa3005da265e464edb1d3dd670cadc3effaa744c21c772c0bfeac1ceec6e5f7e8a9a02440d79e5080c432e4dcb73984e613281ad2