public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-blake2b_simd] rawhide: Allow constant_time_eq 0.6
@ 2026-10-29  8:50 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-29  8:50 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-blake2b_simd
Branch : rawhide
Commit : 72148f358d528c368aabdba689a66f6ea22d14eb
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-10-28T22:44:26+00:00
Stats  : +18/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-blake2b_simd/c/72148f358d528c368aabdba689a66f6ea22d14eb?branch=rawhide

Log:
Allow constant_time_eq 0.6

---
diff --git a/blake2b_simd-fix-metadata.diff b/blake2b_simd-fix-metadata.diff
new file mode 100644
index 0000000..a86f162
--- /dev/null
+++ b/blake2b_simd-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- blake2b_simd-1.0.5/Cargo.toml	2006-07-24T01:21:28+00:00
++++ blake2b_simd-1.0.5/Cargo.toml	2026-10-28T22:44:13.559814+00:00
+@@ -45,5 +45,5 @@
+ default-features = false
+ 
+ [dependencies.constant_time_eq]
+-version = "0.4.2"
++version = ">=0.4.2, <0.7.0"
+ default-features = false

diff --git a/rust-blake2b_simd.spec b/rust-blake2b_simd.spec
index 1143e64..55c3535 100644
--- a/rust-blake2b_simd.spec
+++ b/rust-blake2b_simd.spec
@@ -14,6 +14,10 @@ URL:            https://crates.io/crates/blake2b_simd
 Source:         %{crates_source}
 # * add missing license text: https://github.com/oconnor663/blake2_simd/pull/31
 Source2:        https://github.com/oconnor663/blake2_simd/raw/refs/tags/1.0.3/LICENSE
+# Manually created patch for downstream crate metadata changes
+# * Allow constant_time_eq 0.6:
+#   https://github.com/oconnor663/blake2_simd/pull/35
+Patch:          blake2b_simd-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 77cb1d5..eb40993 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,10 @@
 [package]
 license-files = ["LICENSE"]
+cargo-toml-patch-comments = [
+    """\
+Allow constant_time_eq 0.6: https://github.com/oconnor663/blake2_simd/pull/35\
+""",
+]
 
 [[package.extra-sources]]
 number = 2

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

only message in thread, other threads:[~2026-10-29  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-29  8:50 [rpms/rust-blake2b_simd] rawhide: Allow constant_time_eq 0.6 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