public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sha1collisiondetection] epel10: Allow clap_mangen 0.3
@ 2026-09-08  6:44 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-08  6:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-sha1collisiondetection
Branch : epel10
Commit : 1f8d6828210b1b63f9417854efec7e68d9305953
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-07T11:41:25+01:00
Stats  : +25/-1 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sha1collisiondetection/c/1f8d6828210b1b63f9417854efec7e68d9305953?branch=epel10

Log:
Allow clap_mangen 0.3

---
diff --git a/rust-sha1collisiondetection.spec b/rust-sha1collisiondetection.spec
index 23aa046..5ac43b1 100644
--- a/rust-sha1collisiondetection.spec
+++ b/rust-sha1collisiondetection.spec
@@ -14,6 +14,8 @@ Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
 # * prevent test fixtures from getting installed and shipped
 # * allow hex-literals 1.0 (not suitable for upstream due to MSRV)
+# * Update clap_mangen to version 0.3; still allow version 0.2, as upstream:
+#   https://gitlab.com/sequoia-pgp/sha1collisiondetection/-/merge_requests/33
 Patch:          sha1collisiondetection-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24

diff --git a/rust2rpm.toml b/rust2rpm.toml
index bbf94f4..f24fdc9 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -2,4 +2,8 @@
 cargo-toml-patch-comments = [
     "prevent test fixtures from getting installed and shipped",
     "allow hex-literals 1.0 (not suitable for upstream due to MSRV)",
+    """\
+    Update clap_mangen to version 0.3; still allow version 0.2, as upstream: \
+    https://gitlab.com/sequoia-pgp/sha1collisiondetection/-/merge_requests/33\
+    """,
 ]

diff --git a/sha1collisiondetection-fix-metadata.diff b/sha1collisiondetection-fix-metadata.diff
index 4b00507..babebcc 100644
--- a/sha1collisiondetection-fix-metadata.diff
+++ b/sha1collisiondetection-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- sha1collisiondetection-0.3.4/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sha1collisiondetection-0.3.4/Cargo.toml	2025-12-03T20:43:49.130370+00:00
++++ sha1collisiondetection-0.3.4/Cargo.toml	2026-09-07T10:40:41.510005+00:00
 @@ -26,6 +26,7 @@
      "/vs2015/",
      "/compile_commands.json",
@@ -8,6 +8,15 @@
      "/test-sha1sum-protocol.sh",
      "/*.yml",
  ]
+@@ -69,7 +70,7 @@
+ default-features = false
+ 
+ [dependencies.clap_mangen]
+-version = "0.2"
++version = ">=0.2,<0.4"
+ optional = true
+ default-features = false
+ 
 @@ -89,7 +90,7 @@
  version = "0.2"
  
@@ -17,3 +26,12 @@
  
  [dev-dependencies.sha1]
  version = "0.10"
+@@ -104,7 +105,7 @@
+ default-features = false
+ 
+ [build-dependencies.clap_mangen]
+-version = "0.2"
++version = ">=0.2,<0.4"
+ optional = true
+ default-features = false
+ 

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

only message in thread, other threads:[~2026-09-08  6:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-08  6:44 [rpms/rust-sha1collisiondetection] epel10: Allow clap_mangen 0.3 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