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

A new commit has been pushed.

Repo   : rpms/rust-structopt
Branch : rawhide
Commit : 2487bf25c15a8bce56a42662a04ce5da0d3ac705
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-29T22:53:26+02:00
Stats  : +25/-15 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-structopt/c/2487bf25c15a8bce56a42662a04ce5da0d3ac705?branch=rawhide

Log:
Regenerate with rust2rpm v28

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

diff --git a/rust-structopt.spec b/rust-structopt.spec
index caa4a68..f198771 100644
--- a/rust-structopt.spec
+++ b/rust-structopt.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 structopt
@@ -13,9 +13,7 @@ License:        Apache-2.0 OR MIT
 URL:            https://crates.io/crates/structopt
 Source:         %{crates_source}
 
-ExclusiveArch:  %{rust_arches}
-
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Parse command line argument by defining a struct.}
@@ -135,7 +133,7 @@ use the "yaml" 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
@@ -151,7 +149,10 @@ use the "yaml" feature of the "%{crate}" crate.
 %check
 # * flatten_twice is marked should_panic, but gets a hard error from clap
 # * ui test fails because of missing paw dependency
-%cargo_test -- -- --skip flatten_twice --skip ui
+%{cargo_test -- -- %{shrink:
+    --skip flatten_twice
+    --skip ui
+}}
 %endif
 
 %changelog

diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 928fc47..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-[DEFAULT]
-unwanted-features =
-  lints
-  paw
-  paw_dep

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..a783176
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,17 @@
+[features]
+hide = [
+    "lints",
+    "paw",
+    "paw_dep",
+]
+
+[tests]
+skip = [
+    "flatten_twice",
+    "ui",
+]
+comments = [
+    "flatten_twice is marked should_panic, but gets a hard error from clap",
+    "ui test fails because of missing paw dependency",
+]
+

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

only message in thread, other threads:[~2026-07-29 20:53 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:53 [rpms/rust-structopt] 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