public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-zeroize] f44: Update to version 1.9.2; Fixes RHBZ#2575245
@ 2026-11-22 14:45 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-22 14:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-zeroize
Branch : f44
Commit : 5fa726af87a6599a85115603becc1c394b1e6b06
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-11-22T15:30:54+01:00
Stats : +22/-3 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-zeroize/c/5fa726af87a6599a85115603becc1c394b1e6b06?branch=f44
Log:
Update to version 1.9.2; Fixes RHBZ#2575245
---
diff --git a/rust-zeroize.spec b/rust-zeroize.spec
index 9d8e234..b887cdb 100644
--- a/rust-zeroize.spec
+++ b/rust-zeroize.spec
@@ -5,13 +5,16 @@
%global crate zeroize
Name: rust-zeroize
-Version: 1.9.1
+Version: 1.9.2
Release: %autorelease
Summary: Securely clear secrets from memory
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/zeroize
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop unused, benchmark-only criterion dev-dependency
+Patch: zeroize-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -19,7 +22,8 @@ BuildRequires: cargo-rpm-macros >= 24
Securely clear secrets from memory with a simple trait built on stable
Rust primitives which guarantee memory is zeroed using an operation will
not be 'optimized away' by the compiler. Uses a portable pure Rust
-implementation that works everywhere, even WASM!.}
+implementation that works everywhere, even WASM, with `asm!`
+optimizations on select platforms.}
%description %{_description}
diff --git a/rust2rpm.toml b/rust2rpm.toml
index d43662e..eb49ec5 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,6 @@
[package]
summary = "Securely clear secrets from memory"
+cargo-toml-patch-comments = [
+ "drop unused, benchmark-only criterion dev-dependency",
+]
diff --git a/sources b/sources
index 3309b51..fef39b1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zeroize-1.9.1.crate) = 612b49be6dfb59b492d9a793108b24979489c8f0cedfe86b2ffcc37297f20bf3ef514fd69af76b48551b9d3134a06eed6eaca7e410daed51e4d02bedf5bbde75
+SHA512 (zeroize-1.9.2.crate) = d7935446cf36f0c922f3980af159c6933cd13ff5f532c035fdc97cf64406c91a69e91c02859ed872c66211a01c430e74dc63e146da9cfcec53320920d0d451fb
diff --git a/zeroize-fix-metadata.diff b/zeroize-fix-metadata.diff
new file mode 100644
index 0000000..dd21d29
--- /dev/null
+++ b/zeroize-fix-metadata.diff
@@ -0,0 +1,12 @@
+--- zeroize-1.9.2/Cargo.toml 2006-07-24T01:21:28+00:00
++++ zeroize-1.9.2/Cargo.toml 2026-11-22T14:29:25.620746+00:00
+@@ -87,9 +87,6 @@
+ version = "1.5"
+ optional = true
+
+-[target."cfg(any(unix, windows))".dev-dependencies.criterion]
+-version = "0.7"
+-
+ [lints.clippy]
+ borrow_as_ptr = "warn"
+ cast_lossless = "warn"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-22 14:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-22 14:45 [rpms/rust-zeroize] f44: Update to version 1.9.2; Fixes RHBZ#2575245 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox