Update to 2.8.2 (close RHBZ#2267466)

This commit is contained in:
Benjamin A. Beasley 2024-03-03 10:58:34 -05:00
commit 62d748c914
4 changed files with 3 additions and 35 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/cramjam-2.8.1.tar.gz
/cramjam-2.8.2.tar.gz

View file

@ -1,30 +0,0 @@
From ccea06b962959b69596eada330c5acc055a5f195 Mon Sep 17 00:00:00 2001
From: Miles <miles59923@gmail.com>
Date: Sat, 3 Feb 2024 10:19:05 +0100
Subject: [PATCH] Remove relative libcramjam dep for python builds (#131)
---
cramjam-cli/Cargo.toml | 2 +-
cramjam-python/Cargo.toml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cramjam-cli/Cargo.toml b/cramjam-cli/Cargo.toml
index 73ccbbe..633f585 100644
--- a/cramjam-cli/Cargo.toml
+++ b/cramjam-cli/Cargo.toml
@@ -8,4 +8,4 @@ edition = "2021"
[dependencies]
clap = { version = "^4.2", features = ["derive"] }
bytesize = "^1"
-libcramjam = { path = "../libcramjam" }
+libcramjam = "0.2.0"
diff --git a/cramjam-python/Cargo.toml b/cramjam-python/Cargo.toml
index 8092eb5..20a72b7 100644
--- a/cramjam-python/Cargo.toml
+++ b/cramjam-python/Cargo.toml
@@ -19,4 +19,4 @@ extension-module = ["pyo3/extension-module"]
[dependencies]
pyo3 = { version = "^0.20", default-features = false, features = ["macros"] }
-libcramjam = { path = "../libcramjam" }
+libcramjam = "0.2.0"

View file

@ -1,7 +1,7 @@
%bcond tests 1
Name: python-cramjam
Version: 2.8.1
Version: 2.8.2
Release: %autorelease
Summary: Thin Python bindings to de/compression algorithms in Rust
@ -15,9 +15,6 @@ URL: https://github.com/milesgranger/cramjam
# the GitHub source archive.
Source: %{url}/archive/v%{version}/cramjam-%{version}.tar.gz
# Remove relative libcramjam dep for python builds
# See: https://github.com/milesgranger/cramjam/pull/131
Patch: %{url}/commit/ccea06b962959b69596eada330c5acc055a5f195.patch
# Do not strip the compiled Python module; we need useful debuginfo. Upstream
# set this intentionally, so this makes sense to keep downstream-only.
Patch: 0001-Downstream-only-do-not-strip-the-compiled-Python-ext.patch

View file

@ -1 +1 @@
SHA512 (cramjam-2.8.1.tar.gz) = d908a09f52cebe9a5f7638a91158262e4eea4f8faf57e65d7effab734d12442a65823fb04415d4bea9fd7e42c6569c67459605c655284d5189c59038ff9292e4
SHA512 (cramjam-2.8.2.tar.gz) = ef733b712339e3267a482bf77251469f3f8079f852bc139a2e5f8f58626f04e5db47db2dcc2d9471ab983df53d27604b06c593798cff4de5455a47a65fb087f2