public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-zeroize_derive] epel9: Update to version 1.5.0; Fixes RHBZ#2488504
Date: Thu, 18 Jun 2026 15:12:18 GMT	[thread overview]
Message-ID: <178179553828.1.15684253077278332614.rpms-rust-zeroize_derive-cac6e363db34@fedoraproject.org> (raw)

A new commit has been pushed.

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

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

                 reply	other threads:[~2026-06-18 15:12 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=178179553828.1.15684253077278332614.rpms-rust-zeroize_derive-cac6e363db34@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --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