public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-assert_cli] f45: Regenerate with rust2rpm v28
@ 2026-08-25 19:15 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-25 19:15 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-assert_cli
Branch : f45
Commit : 8ada0eb0b4f4e015f428d4c2dfd292ca10eeca15
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-25T21:07:20+02:00
Stats : +15/-24 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-assert_cli/c/8ada0eb0b4f4e015f428d4c2dfd292ca10eeca15?branch=f45
Log:
Regenerate with rust2rpm v28
---
diff --git a/README.md b/README.md
deleted file mode 100644
index dd3f754..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-assert_cli
-
-The rust-assert_cli package
\ No newline at end of file
diff --git a/assert_cli-fix-metadata.diff b/assert_cli-fix-metadata.diff
deleted file mode 100644
index 90802f9..0000000
--- a/assert_cli-fix-metadata.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- assert_cli-0.6.3/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ assert_cli-0.6.3/Cargo.toml 2023-02-04T22:33:50.016282+00:00
-@@ -22,9 +22,8 @@
- categories = ["development-tools::testing"]
- license = "MIT OR Apache-2.0"
- repository = "https://github.com/assert-rs/assert_cli.git"
-+autobins = false
-
--[[bin]]
--name = "assert_fixture"
- [dependencies.colored]
- version = "1.5"
-
diff --git a/rust-assert_cli.spec b/rust-assert_cli.spec
index 43bc517..ac396d5 100644
--- a/rust-assert_cli.spec
+++ b/rust-assert_cli.spec
@@ -1,8 +1,11 @@
-# Generated by rust2rpm 23
-# * tests do not work without the test binary
-%bcond_with check
+# Generated by rust2rpm 28
+# * tests expect to run on a TTY
+%bcond check 0
%global debug_package %{nil}
+# prevent executables from being installed
+%global cargo_install_bin 0
+
%global crate assert_cli
Name: rust-assert_cli
@@ -13,11 +16,8 @@ Summary: Test CLI Applications
License: MIT OR Apache-2.0
URL: https://crates.io/crates/assert_cli
Source: %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * stop building and shipping test-only binary
-Patch: assert_cli-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 26
%global _description %{expand:
Test CLI Applications.}
@@ -53,7 +53,7 @@ use the "default" 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..55e65cc
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,7 @@
+[package]
+cargo-install-bin = false
+
+[tests]
+run = false
+comments = ["tests expect to run on a TTY"]
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-25 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 19:15 [rpms/rust-assert_cli] f45: 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