public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-libcramjam] f44: Update to version 0.9.3; Fixes RHBZ#2545215
Date: Sat, 03 Oct 2026 06:43:24 GMT [thread overview]
Message-ID: <179100980496.1.9451649524161291440.rpms-rust-libcramjam-1245c5efa6b2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-libcramjam
Branch : f44
Commit : 1245c5efa6b275e6f197139c9a0ac7ef72e97aed
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-03T06:55:17+01:00
Stats : +79/-147 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-libcramjam/c/1245c5efa6b275e6f197139c9a0ac7ef72e97aed?branch=f44
Log:
Update to version 0.9.3; Fixes RHBZ#2545215
- No longer patch out pure-Rust features since s390x bugs are fixed
---
diff --git a/.gitignore b/.gitignore
index 4056962..21a13f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/libcramjam-0.7.0.crate
/libcramjam-0.8.0.crate
/libcramjam-0.9.1.crate
+/libcramjam-0.9.3.crate
diff --git a/libcramjam-fix-metadata.diff b/libcramjam-fix-metadata.diff
index f8777a9..29ef63a 100644
--- a/libcramjam-fix-metadata.diff
+++ b/libcramjam-fix-metadata.diff
@@ -1,6 +1,6 @@
---- libcramjam-0.9.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libcramjam-0.9.1/Cargo.toml 2026-09-30T14:22:16.474134+00:00
-@@ -39,18 +39,9 @@
+--- libcramjam-0.9.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ libcramjam-0.9.3/Cargo.toml 2026-10-03T05:52:13.252721+00:00
+@@ -40,15 +40,6 @@
subdirectory = "cramjam"
[features]
@@ -15,25 +15,17 @@
-]
brotli = ["dep:brotli"]
bzip2 = ["dep:bzip2"]
--bzip2-pure = []
-+# bzip2-pure = []
- capi = ["dep:libc"]
- default = [
- "snappy",
-@@ -63,86 +54,53 @@
+ bzip2-pure = []
+@@ -64,33 +55,14 @@
"deflate",
"zlib",
]
-deflate = ["deflate-static"]
--deflate-pure = [
-- "dep:crc32fast",
-- "dep:simd-adler32",
--]
+deflate = ["deflate-shared"]
-+# deflate-pure = [
-+# "dep:crc32fast",
-+# "dep:simd-adler32",
-+# ]
+ deflate-pure = [
+ "dep:crc32fast",
+ "dep:simd-adler32",
+ ]
deflate-shared = ["dep:flate2"]
-deflate-static = ["dep:flate2"]
-gzip = ["gzip-static"]
@@ -58,22 +50,11 @@
-izlib-shared = ["isal-shared"]
-izlib-static = ["isal-static"]
lz4 = ["dep:lz4"]
--lz4-pure = []
--pure-rust = [
-- "zstd-pure",
-- "lz4-pure",
-- "bzip2-pure",
-- "deflate-pure",
-- "xz-pure",
--]
-+# lz4-pure = []
-+# pure-rust = [
-+# "zstd-pure",
-+# "lz4-pure",
-+# "bzip2-pure",
-+# "deflate-pure",
-+# "xz-pure",
-+# ]
+ lz4-pure = []
+ pure-rust = [
+@@ -101,16 +73,7 @@
+ "xz-pure",
+ ]
snappy = ["dep:snap"]
-use-system-blosc2 = [
- "dep:blosc2-rs",
@@ -85,18 +66,11 @@
-]
-wasm32-compat = ["blosc2-rs/deactivate-zlib-optim"]
-xz = ["xz-static"]
--xz-pure = [
-- "dep:crc32fast",
-- "dep:crc-fast",
-- "dep:sha2",
--]
+xz = ["xz-shared"]
-+# xz-pure = [
-+# "dep:crc32fast",
-+# "dep:crc-fast",
-+# "dep:sha2",
-+# ]
- xz-shared = [
+ xz-pure = [
+ "dep:crc32fast",
+ "dep:crc-fast",
+@@ -120,20 +83,15 @@
"dep:xz2",
"dep:lzma-sys",
]
@@ -110,66 +84,16 @@
zlib-shared = ["deflate-shared"]
-zlib-static = ["deflate-static"]
zstd = ["dep:zstd"]
--zstd-pure = []
-+# zstd-pure = []
+ zstd-pure = []
[lib]
name = "libcramjam"
path = "src/lib.rs"
--
--[[example]]
--name = "lz4fast_check"
--path = "examples/lz4fast_check.rs"
--required-features = ["lz4-pure"]
--
--[[example]]
--name = "lz4hc_check"
--path = "examples/lz4hc_check.rs"
--required-features = ["lz4-pure"]
+crate-type = ["lib", "cdylib"]
-+
-+# [[example]]
-+# name = "lz4fast_check"
-+# path = "examples/lz4fast_check.rs"
-+# required-features = ["lz4-pure"]
-+#
-+# [[example]]
-+# name = "lz4hc_check"
-+# path = "examples/lz4hc_check.rs"
-+# required-features = ["lz4-pure"]
-
- [[example]]
- name = "profile_bzip2"
-@@ -172,10 +130,10 @@
- name = "profile_xz_enc"
- path = "examples/profile_xz_enc.rs"
-
--[[example]]
--name = "profile_zstd"
--path = "examples/profile_zstd.rs"
--required-features = ["zstd-pure"]
-+# [[example]]
-+# name = "profile_zstd"
-+# path = "examples/profile_zstd.rs"
-+# required-features = ["zstd-pure"]
[[example]]
- name = "profile_zstd_dec"
-@@ -185,36 +143,16 @@
- name = "zstd_dbg"
- path = "examples/zstd_dbg.rs"
-
--[[example]]
--name = "zstd_small_check"
--path = "examples/zstd_small_check.rs"
--required-features = ["zstd-pure"]
-+# [[example]]
-+# name = "zstd_small_check"
-+# path = "examples/zstd_small_check.rs"
-+# required-features = ["zstd-pure"]
-
- [[test]]
- name = "backend_contract"
+ name = "lz4fast_check"
+@@ -196,26 +154,6 @@
path = "tests/backend_contract.rs"
[[test]]
@@ -196,7 +120,7 @@
name = "cross_impl"
path = "tests/cross_impl.rs"
-@@ -285,11 +223,6 @@
+@@ -286,11 +224,6 @@
path = "benches/zstd_bench.rs"
harness = false
required-features = ["pure-rust"]
@@ -208,16 +132,7 @@
[dependencies.brotli]
version = "^8"
-@@ -301,7 +234,7 @@
- default-features = false
-
- [dependencies.bzip2]
--version = ">=0.4,<0.6"
-+version = ">=0.4,<0.7"
- optional = true
-
- [dependencies.crc-fast]
-@@ -349,11 +282,7 @@
+@@ -350,11 +283,7 @@
optional = true
[dev-dependencies.bzip2]
@@ -230,7 +145,7 @@
[dev-dependencies.flate2]
version = "^1"
-@@ -369,11 +298,6 @@
+@@ -370,11 +299,6 @@
[dev-dependencies.zstd]
version = "^0.13"
diff --git a/rust-libcramjam.spec b/rust-libcramjam.spec
index 3ddc944..407feb5 100644
--- a/rust-libcramjam.spec
+++ b/rust-libcramjam.spec
@@ -18,7 +18,7 @@ Name: rust-libcramjam
# explicitly to help prevent undetected/unannounced SONAME version bumps in the
# libcramjam/libcramjam-devel subpackages.
%global soversion 0.9
-Version: 0.9.1
+Version: 0.9.3
Release: %autorelease
Summary: Compression library combining a plethora of algorithms
@@ -32,14 +32,11 @@ Source: %{crates_source}
# * Patch out all -static features
# * Patch out features requiring blosc2-rs or isal-rs so we can stop packaging
# those crates
-# * Relax bzip2 dependency to allow building with both v0.4 and v0.5:
-# https://github.com/cramjam/libcramjam/pull/24; Allow bzip2 0.6:
-# https://github.com/cramjam/libcramjam/pull/30
+# * Fix inconsistent bzip2 version bound:
+# https://github.com/cramjam/libcramjam/pull/39
# * Omit “corpus” tests: these require files from benches/data/, which are not
# distributed in the crate, and some of which don’t have entirely clear
# license status.
-# * Patch out pure-Rust features for now due to test failures on s390x,
-# https://github.com/cramjam/libcramjam/issues/35.
Patch: libcramjam-fix-metadata.diff
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
@@ -154,52 +151,52 @@ use the "bzip2" feature of the "%{crate}" crate.
%files -n %{name}+bzip2-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+capi-devel
+%package -n %{name}+bzip2-pure-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+capi-devel %{_description}
+%description -n %{name}+bzip2-pure-devel %{_description}
This package contains library source intended for building other packages which
-use the "capi" feature of the "%{crate}" crate.
+use the "bzip2-pure" feature of the "%{crate}" crate.
-%files -n %{name}+capi-devel
+%files -n %{name}+bzip2-pure-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+crc-fast-devel
+%package -n %{name}+capi-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+crc-fast-devel %{_description}
+%description -n %{name}+capi-devel %{_description}
This package contains library source intended for building other packages which
-use the "crc-fast" feature of the "%{crate}" crate.
+use the "capi" feature of the "%{crate}" crate.
-%files -n %{name}+crc-fast-devel
+%files -n %{name}+capi-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+crc32fast-devel
+%package -n %{name}+deflate-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+crc32fast-devel %{_description}
+%description -n %{name}+deflate-devel %{_description}
This package contains library source intended for building other packages which
-use the "crc32fast" feature of the "%{crate}" crate.
+use the "deflate" feature of the "%{crate}" crate.
-%files -n %{name}+crc32fast-devel
+%files -n %{name}+deflate-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+deflate-devel
+%package -n %{name}+deflate-pure-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+deflate-devel %{_description}
+%description -n %{name}+deflate-pure-devel %{_description}
This package contains library source intended for building other packages which
-use the "deflate" feature of the "%{crate}" crate.
+use the "deflate-pure" feature of the "%{crate}" crate.
-%files -n %{name}+deflate-devel
+%files -n %{name}+deflate-pure-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+deflate-shared-devel
@@ -250,28 +247,28 @@ use the "lz4" feature of the "%{crate}" crate.
%files -n %{name}+lz4-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+sha2-devel
+%package -n %{name}+lz4-pure-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+sha2-devel %{_description}
+%description -n %{name}+lz4-pure-devel %{_description}
This package contains library source intended for building other packages which
-use the "sha2" feature of the "%{crate}" crate.
+use the "lz4-pure" feature of the "%{crate}" crate.
-%files -n %{name}+sha2-devel
+%files -n %{name}+lz4-pure-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+simd-adler32-devel
+%package -n %{name}+pure-rust-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+simd-adler32-devel %{_description}
+%description -n %{name}+pure-rust-devel %{_description}
This package contains library source intended for building other packages which
-use the "simd-adler32" feature of the "%{crate}" crate.
+use the "pure-rust" feature of the "%{crate}" crate.
-%files -n %{name}+simd-adler32-devel
+%files -n %{name}+pure-rust-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+snappy-devel
@@ -298,6 +295,18 @@ use the "xz" feature of the "%{crate}" crate.
%files -n %{name}+xz-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+xz-pure-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+xz-pure-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "xz-pure" feature of the "%{crate}" crate.
+
+%files -n %{name}+xz-pure-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+xz-shared-devel
Summary: %{summary}
BuildArch: noarch
@@ -346,6 +355,18 @@ use the "zstd" feature of the "%{crate}" crate.
%files -n %{name}+zstd-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+zstd-pure-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+zstd-pure-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "zstd-pure" feature of the "%{crate}" crate.
+
+%files -n %{name}+zstd-pure-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 5a13240..296b46d 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -12,19 +12,14 @@ Patch out features requiring blosc2-rs or isal-rs so we can stop packaging \
those crates\
""",
"""\
-Relax bzip2 dependency to allow building with both v0.4 and v0.5: \
-https://github.com/cramjam/libcramjam/pull/24; Allow bzip2 0.6: \
-https://github.com/cramjam/libcramjam/pull/30\
+Fix inconsistent bzip2 version bound: \
+https://github.com/cramjam/libcramjam/pull/39\
""",
"""\
Omit “corpus” tests: these require files from benches/data/, which are not \
distributed in the crate, and some of which don’t have entirely clear license \
status.\
""",
- """\
-Patch out pure-Rust features for now due to test failures on s390x, \
-https://github.com/cramjam/libcramjam/issues/35.\
-""",
]
# This is handled in scripts.install.post.
suppress-cdylib-install-fixme = true
diff --git a/sources b/sources
index ff0b99c..e4e64ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libcramjam-0.9.1.crate) = feae4d57a900d2e628b689cb563ceedf685db8b4873e70c4a5bf3e8d8cad78d203511c0ff1c563d25adb97cf6c903ac03477343196ac4660e4bf2e36cc19ccd0
+SHA512 (libcramjam-0.9.3.crate) = c0682ab1834f229605b34707ffbbe5724504303e9c785be72e51099518a9e6a541e57f5527a90409eedbc543fcc5a06805e1068571f05c41020618fd0bd4f7e0
reply other threads:[~2026-10-03 6:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179100980496.1.9451649524161291440.rpms-rust-libcramjam-1245c5efa6b2@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox