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-hamming] rawhide: Regenerate with rust2rpm v28
Date: Fri, 31 Jul 2026 20:48:57 GMT [thread overview]
Message-ID: <178553093753.1.5331270632819263379.rpms-rust-hamming-d96b0e92f345@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-hamming
Branch : rawhide
Commit : d96b0e92f345ac4624fb5fb485d7ec587172fd6b
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-31T22:48:28+02:00
Stats : +34/-27 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-hamming/c/d96b0e92f345ac4624fb5fb485d7ec587172fd6b?branch=rawhide
Log:
Regenerate with rust2rpm v28
---
diff --git a/README.md b/README.md
deleted file mode 100644
index 5e17fc0..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-hamming
-
-The rust-hamming package
diff --git a/hamming-fix-metadata.diff b/hamming-fix-metadata.diff
new file mode 100644
index 0000000..1564dcd
--- /dev/null
+++ b/hamming-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- hamming-0.1.3/Cargo.toml 2015-06-01T01:55:47+00:00
++++ hamming-0.1.3/Cargo.toml 2026-07-31T20:47:22.798024+00:00
+@@ -19,5 +19,5 @@
+ unstable = []
+
+ [dev-dependencies]
+-quickcheck = "0.2"
+-rand = "0.3"
++quickcheck = "1.0"
++rand = "0.8"
diff --git a/rust-hamming-deps.patch b/rust-hamming-deps.patch
deleted file mode 100644
index 056e2de..0000000
--- a/rust-hamming-deps.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up hamming-0.1.3/Cargo.toml.deps hamming-0.1.3/Cargo.toml
---- hamming-0.1.3/Cargo.toml.deps 2015-05-31 19:55:47.000000000 -0600
-+++ hamming-0.1.3/Cargo.toml 2022-08-06 13:57:44.343297987 -0600
-@@ -19,5 +19,5 @@ performant popcount and bitwise hamming
- unstable = []
-
- [dev-dependencies]
--quickcheck = "0.2"
--rand = "0.3"
-+quickcheck = "1.0"
-+rand = "0.8"
diff --git a/rust-hamming.spec b/rust-hamming.spec
index 5bfa1be..e258ba2 100644
--- a/rust-hamming.spec
+++ b/rust-hamming.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 hamming
@@ -13,19 +13,17 @@ Summary: Count ones, fast (aka popcount, hamming weight)
License: MIT OR Apache-2.0
URL: https://crates.io/crates/hamming
Source: %{crates_source}
-# https://github.com/huonw/hamming/pull/4
-# Bump dep versions
-Patch: rust-hamming-deps.patch
-# Support quickcheck 1.0
-Patch: rust-hamming-quickcheck.patch
+# Manually created patch for downstream crate metadata changes
+# * bump quickcheck from 0.2 to 1.0 and rand from 0.3 to 0.8:
+# https://github.com/huonw/hamming/pull/4
+Patch: hamming-fix-metadata.diff
+Patch2: rust-hamming-quickcheck.patch
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
-Count ones, fast (aka popcount, hamming weight). This provides a performant
-popcount and bitwise hamming distance for a slice of bytes.}
+Count ones, fast (aka popcount, hamming weight). This provides a
+performant popcount and bitwise hamming distance for a slice of bytes.}
%description %{_description}
@@ -69,7 +67,7 @@ use the "unstable" 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..9e43ec8
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,13 @@
+[package]
+summary = "Count ones, fast (aka popcount, hamming weight)"
+cargo-toml-patch-comments = [
+ """\
+ bump quickcheck from 0.2 to 1.0 and rand from 0.3 to 0.8:
+ https://github.com/huonw/hamming/pull/4
+ """,
+]
+
+[[package.extra-patches]]
+number = 2
+file = "rust-hamming-quickcheck.patch"
+
reply other threads:[~2026-07-31 20:48 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=178553093753.1.5331270632819263379.rpms-rust-hamming-d96b0e92f345@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