public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-zerovec] f45: Update to version 0.11.9; Fixes RHBZ#2559391
@ 2026-11-11 14:03 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-11 14:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-zerovec
Branch : f45
Commit : e1408b36b1961d4d67a13d4a0d90465bfa5411c4
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-10T12:23:55+00:00
Stats : +5/-51 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-zerovec/c/e1408b36b1961d4d67a13d4a0d90465bfa5411c4?branch=f45
Log:
Update to version 0.11.9; Fixes RHBZ#2559391
---
diff --git a/0001-Don-t-unwrap-ZeroVec-try_from_slice.patch b/0001-Don-t-unwrap-ZeroVec-try_from_slice.patch
deleted file mode 100644
index 1dc85f0..0000000
--- a/0001-Don-t-unwrap-ZeroVec-try_from_slice.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 1d1db8d8ba6155b8cc5477aee9ca34919f38904f Mon Sep 17 00:00:00 2001
-From: "Shane F. Carr" <shane.carr@wustl.edu>
-Date: Fri, 21 Aug 2026 23:40:33 -1000
-Subject: [PATCH] Don't unwrap ZeroVec::try_from_slice
-
----
- src/lib.rs | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index 5e9865bf40..d710e8c0b7 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -576,7 +576,7 @@ mod tests {
- #[test]
- fn test_miri_repro_eyepatch_hack_truncate() {
- let slice: &[u16] = &[1, 2, 3, 4];
-- let zv: ZeroVec<u16> = ZeroVec::try_from_slice(slice).unwrap();
-+ let zv: ZeroVec<u16> = ZeroVec::from_slice_or_alloc(slice);
- let _truncated = zv.truncated(2);
- }
-
---
-2.55.0
-
diff --git a/rust-zerovec.spec b/rust-zerovec.spec
index 6b06f24..3af3b4c 100644
--- a/rust-zerovec.spec
+++ b/rust-zerovec.spec
@@ -5,7 +5,7 @@
%global crate zerovec
Name: rust-zerovec
-Version: 0.11.8
+Version: 0.11.9
Release: %autorelease
Summary: Zero-copy vector backed by a byte array
@@ -34,12 +34,6 @@ Patch: zerovec-fix-metadata.diff
# https://src.fedoraproject.org/rpms/rust-zerovec/pull-request/1#comment-232114
# and subsequent discussion.
Patch10: 0001-Downstream-only-Ignore-a-few-tests-we-can-t-compile.patch
-# * Don't unwrap ZeroVec::try_from_slice:
-# https://github.com/unicode-org/icu4x/pull/8420
-# * Fixes: zerovec: tests::test_miri_repro_eyepatch_hack_truncate fails on s390x:
-# https://github.com/unicode-org/icu4x/issues/8396
-# * Produced with git format-patch --relative in order to apply to the crate
-Patch11: 0001-Don-t-unwrap-ZeroVec-try_from_slice.patch
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 2fadf49..07305d2 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -34,21 +34,6 @@ and subsequent discussion.\
""",
]
-[[package.extra-patches]]
-number = 11
-file = "0001-Don-t-unwrap-ZeroVec-try_from_slice.patch"
-comments = [
- """\
-Don't unwrap ZeroVec::try_from_slice: \
-https://github.com/unicode-org/icu4x/pull/8420\
-""",
- """\
-Fixes: zerovec: tests::test_miri_repro_eyepatch_hack_truncate fails on s390x:
-https://github.com/unicode-org/icu4x/issues/8396\
-""",
- "Produced with git format-patch --relative in order to apply to the crate",
-]
-
[features]
# Some features are required for tests, or at least enable additional tests.
enable = [
diff --git a/sources b/sources
index 7f5e7f0..e92fa01 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zerovec-0.11.8.crate) = dc59d370c2b627907f04227511a642466216e6229b8834b518f132a533d7010a16650e32a84d6b335287a43d8998c8b3f7aad685543b88b57c5310e9753aa8ca
+SHA512 (zerovec-0.11.9.crate) = 7aeebed90fc1c7aca5d722c7fe0567179e8a05027c3fdcb35ce2ef1313721862aa35c2174b93879495e5701db871379c883a9f1baf7b1f27fe962ea2d285c562
diff --git a/zerovec-fix-metadata.diff b/zerovec-fix-metadata.diff
index e7291d9..aba2d34 100644
--- a/zerovec-fix-metadata.diff
+++ b/zerovec-fix-metadata.diff
@@ -1,5 +1,5 @@
---- zerovec-0.11.8/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ zerovec-0.11.8/Cargo.toml 2026-08-22T09:52:32.895786+00:00
+--- zerovec-0.11.9/Cargo.toml 2006-07-24T01:21:28+00:00
++++ zerovec-0.11.9/Cargo.toml 2026-11-10T12:18:03.767055+00:00
@@ -80,11 +80,6 @@
path = "src/lib.rs"
bench = false
@@ -42,7 +42,7 @@
version = "0.9"
@@ -196,9 +176,6 @@
- version = "0.8.3"
+ version = "0.8.4"
features = ["derive"]
default-features = false
-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-11 14:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 14:03 [rpms/rust-zerovec] f45: Update to version 0.11.9; Fixes RHBZ#2559391 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox