public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-zeroize_derive] epel10.2: Update to version 1.5.0; Fixes RHBZ#2488504
@ 2026-06-18 15:11 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-18 15:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-zeroize_derive
Branch : epel10.2
Commit : 4105167ae4cffde907f7c93d6c54112db14e71f2
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-06-18T16:39:49+02:00
Stats  : +2/-66 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-zeroize_derive/c/4105167ae4cffde907f7c93d6c54112db14e71f2?branch=epel10.2

Log:
Update to version 1.5.0; Fixes RHBZ#2488504

---
diff --git a/0001-Backport-fixes-for-tests-from-upstream.patch b/0001-Backport-fixes-for-tests-from-upstream.patch
deleted file mode 100644
index ab862a5..0000000
--- a/0001-Backport-fixes-for-tests-from-upstream.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 4a99479895e975274cd8f7704f3545f8c5e87ffd Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Fri, 23 Jan 2026 23:16:39 +0100
-Subject: [PATCH] Backport fixes for tests from upstream
-
----
- src/lib.rs | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index 7804d0c..9a99502 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -454,7 +454,7 @@ mod tests {
-                 impl ::zeroize::Zeroize for Z {
-                     fn zeroize(&mut self) {
-                         match self {
--                            #[allow(unused_variables)]
-+                            #[allow(unused_variables, unused_assignments)]
-                             Z { a, b, c } => {
-                                 a.zeroize();
-                                 b.zeroize();
-@@ -484,7 +484,7 @@ mod tests {
-                 impl ::zeroize::Zeroize for Z {
-                     fn zeroize(&mut self) {
-                         match self {
--                            #[allow(unused_variables)]
-+                            #[allow(unused_variables, unused_assignments)]
-                             Z { a, b, c } => {
-                                 a.zeroize();
-                                 b.zeroize();
-@@ -520,7 +520,7 @@ mod tests {
-                 impl ::zeroize::Zeroize for Z {
-                     fn zeroize(&mut self) {
-                         match self {
--                            #[allow(unused_variables)]
-+                            #[allow(unused_variables, unused_assignments)]
-                             Z { a, b, c } => {
-                                 a.zeroize();
-                                 b.zeroize()
-@@ -545,7 +545,7 @@ mod tests {
-                 impl<T> ::zeroize::Zeroize for Z<T> where T: MyTrait {
-                     fn zeroize(&mut self) {
-                         match self {
--                            #[allow(unused_variables)]
-+                            #[allow(unused_variables, unused_assignments)]
-                             Z(__zeroize_field_0) => {
-                                 __zeroize_field_0.zeroize()
-                             }
-@@ -574,7 +574,7 @@ mod tests {
-                         use ::zeroize::__internal::AssertZeroize;
-                         use ::zeroize::__internal::AssertZeroizeOnDrop;
-                         match self {
--                            #[allow(unused_variables)]
-+                            #[allow(unused_variables, unused_assignments)]
-                             Z { a, b, c } => {
-                                 a.zeroize_or_on_drop();
-                                 b.zeroize_or_on_drop();
--- 
-2.52.0
-

diff --git a/rust-zeroize_derive.spec b/rust-zeroize_derive.spec
index d84120e..a9726d2 100644
--- a/rust-zeroize_derive.spec
+++ b/rust-zeroize_derive.spec
@@ -5,7 +5,7 @@
 %global crate zeroize_derive
 
 Name:           rust-zeroize_derive
-Version:        1.4.3
+Version:        1.5.0
 Release:        %autorelease
 Summary:        Custom derive support for zeroize
 
@@ -13,9 +13,6 @@ License:        Apache-2.0 OR MIT
 URL:            https://crates.io/crates/zeroize_derive
 Source:         %{crates_source}
 
-# * backport of https://github.com/RustCrypto/utils/pull/1320
-Patch:          0001-Backport-fixes-for-tests-from-upstream.patch
-
 BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:

diff --git a/sources b/sources
index 93245ed..d689aab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zeroize_derive-1.4.3.crate) = baefce9fad32add4c9b6f5560835679ac782ecbff383a80931acedbc12e459ec0d5a0cfb0113d47ea91bbb0969651ed62e2e22c69a0a3e87c0a4930be234cc83
+SHA512 (zeroize_derive-1.5.0.crate) = f8a68d785a53e36ac2b17305818ed0f50157321a09fad41549b089ba89743f0623c70cbcec71a1891fbb5476e3772b960d67528c485b8562152d4ece6a777b82

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-18 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 15:11 [rpms/rust-zeroize_derive] epel10.2: Update to version 1.5.0; Fixes RHBZ#2488504 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox