public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-seahash] rawhide: Regenerate with rust2rpm v28
@ 2026-07-29 20:55 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-29 20:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-seahash
Branch : rawhide
Commit : a81732b4e3b6caee98fc27c17fe336ac8d0925f5
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-29T22:54:49+02:00
Stats  : +14/-12 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-seahash/c/a81732b4e3b6caee98fc27c17fe336ac8d0925f5?branch=rawhide

Log:
Regenerate with rust2rpm v28

---
diff --git a/README.md b/README.md
deleted file mode 100644
index 8e0bc2a..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-seahash
-
-The rust-seahash package
\ No newline at end of file

diff --git a/rust-seahash.spec b/rust-seahash.spec
index 5e1af33..a4bca33 100644
--- a/rust-seahash.spec
+++ b/rust-seahash.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 22
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate seahash
@@ -14,15 +14,14 @@ License:        MIT
 URL:            https://crates.io/crates/seahash
 Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
-# * drop unused, benchmark-only criterion dev-dependency to speed up builds
+# * drop unused, benchmark-only criterion dev-dependency
 Patch:          seahash-fix-metadata.diff
 
-ExclusiveArch:  %{rust_arches}
-
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
-Blazingly fast, portable hash function with proven statistical guarantees.}
+A blazingly fast, portable hash function with proven statistical
+guarantees.}
 
 %description %{_description}
 
@@ -36,6 +35,7 @@ This package contains library source intended for building other packages which
 use the "%{crate}" crate.
 
 %files          devel
+# FIXME: no license files detected
 %doc %{crate_instdir}/README.md
 %{crate_instdir}/
 
@@ -64,7 +64,7 @@ use the "use_std" feature of the "%{crate}" crate.
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..2cd7101
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[package]
+cargo-toml-patch-comments = [
+    "drop unused, benchmark-only criterion dev-dependency",
+]
+

diff --git a/seahash-fix-metadata.diff b/seahash-fix-metadata.diff
index 2cdb0f3..0d2a1db 100644
--- a/seahash-fix-metadata.diff
+++ b/seahash-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- seahash-4.1.0/Cargo.toml	2021-01-16T05:41:29+00:00
-+++ seahash-4.1.0/Cargo.toml	2022-10-05T20:28:20.913429+00:00
++++ seahash-4.1.0/Cargo.toml	2026-07-29T20:52:40.469864+00:00
 @@ -21,12 +21,6 @@
  license = "MIT"
  repository = "https://gitlab.redox-os.org/redox-os/seahash"

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

only message in thread, other threads:[~2026-07-29 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 20:55 [rpms/rust-seahash] rawhide: Regenerate with rust2rpm v28 Fabio Valentini

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