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-structopt] rawhide: Regenerate with rust2rpm v28
Date: Wed, 29 Jul 2026 20:53:48 GMT	[thread overview]
Message-ID: <178535842807.1.3479261210172707747.rpms-rust-structopt-2487bf25c15a@fedoraproject.org> (raw)

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",
+]
+

                 reply	other threads:[~2026-07-29 20:53 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=178535842807.1.3479261210172707747.rpms-rust-structopt-2487bf25c15a@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