public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-find-crate] f43: Update to version 0.7.1; Fixes RHBZ#2437492
Date: Wed, 26 Aug 2026 06:45:49 GMT [thread overview]
Message-ID: <178772674971.1.7308179988129700236.rpms-rust-find-crate-89b010abecfb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-find-crate
Branch : f43
Commit : 89b010abecfb8291cff2861e246cf746ebdf96e1
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-26T06:59:35+01:00
Stats : +54/-10 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-find-crate/c/89b010abecfb8291cff2861e246cf746ebdf96e1?branch=f43
Log:
Update to version 0.7.1; Fixes RHBZ#2437492
---
diff --git a/0001-Downstream-avoid-compiling-a-test-that-requires-test.patch b/0001-Downstream-avoid-compiling-a-test-that-requires-test.patch
new file mode 100644
index 0000000..98ec616
--- /dev/null
+++ b/0001-Downstream-avoid-compiling-a-test-that-requires-test.patch
@@ -0,0 +1,25 @@
+From 8f623816989fe3f4d7bc9e2acdfa90260a968b73 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Wed, 26 Aug 2026 06:54:50 +0100
+Subject: [PATCH] Downstream: avoid compiling a test that requires test-helper
+
+---
+ src/gen/tests/track_size.rs | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/gen/tests/track_size.rs b/src/gen/tests/track_size.rs
+index e2d2385..53a431f 100644
+--- a/src/gen/tests/track_size.rs
++++ b/src/gen/tests/track_size.rs
+@@ -17,6 +17,8 @@ fn write_size<T>(out: &mut String) {
+ /// Ignore non-64-bit targets due to usize/ptr size, ignore Miri/cargo-careful as we set
+ /// -Z randomize-layout for them, and ignore old rustc as any::type_name output and size
+ /// optimization may differ between compiler versions.
++// Downstream: disable this to avoid a git dependency on a test-helper crate
++#[cfg(false)]
+ #[rustversion::attr(
+ nightly,
+ cfg_attr(any(not(target_pointer_width = "64"), miri, careful), ignore)
+--
+2.55.0
+
diff --git a/find-crate-fix-metadata.diff b/find-crate-fix-metadata.diff
index 7ecc0ca..7e51143 100644
--- a/find-crate-fix-metadata.diff
+++ b/find-crate-fix-metadata.diff
@@ -1,8 +1,12 @@
---- find-crate-0.6.3/Cargo.toml 2021-01-05T16:06:59+00:00
-+++ find-crate-0.6.3/Cargo.toml 2025-06-13T08:57:35.571000+00:00
-@@ -34,4 +34,4 @@
+--- find-crate-0.7.1/Cargo.toml 2006-07-24T01:21:28+00:00
++++ find-crate-0.7.1/Cargo.toml 2026-08-26T05:57:24.728876+00:00
+@@ -67,9 +67,6 @@
+ [dev-dependencies.quote]
version = "1"
+ default-features = false
+-
+-[dev-dependencies.rustversion]
+-version = "1"
[dev-dependencies.semver]
--version = "0.11"
-+version = "1.0"
+ version = "1"
diff --git a/rust-find-crate.spec b/rust-find-crate.spec
index d7a0402..44a6348 100644
--- a/rust-find-crate.spec
+++ b/rust-find-crate.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
%global crate find-crate
Name: rust-find-crate
-Version: 0.6.3
+Version: 0.7.1
Release: %autorelease
Summary: Find the crate name from the current Cargo.toml
@@ -13,8 +13,12 @@ License: Apache-2.0 OR MIT
URL: https://crates.io/crates/find-crate
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * bump semver from 0.11 to 1.0
+# * Drop rustversion dev-dependency, only for a test we patched out
Patch: find-crate-fix-metadata.diff
+# * Downstream-only: unconditionally skip compiling a test that would require a
+# git dependency on a test-helper crate. This happens to also be the only test
+# that would have required rustversion.
+Patch10: 0001-Downstream-avoid-compiling-a-test-that-requires-test.patch
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 9e42949..88f555b 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,4 +1,15 @@
[package]
cargo-toml-patch-comments = [
- "bump semver from 0.11 to 1.0",
+ "Drop rustversion dev-dependency, only for a test we patched out",
+]
+
+[[package.extra-patches]]
+number = 10
+file = "0001-Downstream-avoid-compiling-a-test-that-requires-test.patch"
+comments = [
+ """\
+Downstream-only: unconditionally skip compiling a test that would require a git \
+dependency on a test-helper crate. This happens to also be the only test that \
+would have required rustversion.\
+""",
]
diff --git a/sources b/sources
index e78294f..840e511 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (find-crate-0.6.3.crate) = f7866a4f917df064277630570f987898e465dce98be548ff7535201ada88b5db71c755f00013fcfed45ffdf29fd667c90ff19999a1fb7cb183a7007bd011f899
+SHA512 (find-crate-0.7.1.crate) = f3b22123dd1b632bb608df89489419d5cefa75148447a13685633017667ec9539a7374cfd06498931d849de562fb3d63e49571381b9e3233c98cc20fe0f22458
reply other threads:[~2026-08-26 6:45 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=178772674971.1.7308179988129700236.rpms-rust-find-crate-89b010abecfb@fedoraproject.org \
--to=code@musicinmybrain.net \
--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