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

A new commit has been pushed.

Repo   : rpms/rust-peg0.5
Branch : rawhide
Commit : cb728018950e52223af2874dc0af23d1dd08b439
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-05T15:43:04+02:00
Stats  : +13/-8 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-peg0.5/c/cb728018950e52223af2874dc0af23d1dd08b439?branch=rawhide

Log:
Regenerate with rust2rpm v28

---
diff --git a/rust-peg0.5.spec b/rust-peg0.5.spec
index ec4a8b5..ccfe099 100644
--- a/rust-peg0.5.spec
+++ b/rust-peg0.5.spec
@@ -1,7 +1,10 @@
-# Generated by rust2rpm 23
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
+# prevent executables from being installed
+%global cargo_install_bin 0
+
 %global crate peg
 
 Name:           rust-peg0.5
@@ -12,14 +15,11 @@ Summary:        Simple Parsing Expression Grammar (PEG) parser generator
 License:        MIT
 URL:            https://crates.io/crates/peg
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * drop binary which is only useful for upstream development
-Patch:          peg-fix-metadata.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 26
 
 %global _description %{expand:
-Simple Parsing Expression Grammar (PEG) parser generator.}
+A simple Parsing Expression Grammar (PEG) parser generator.}
 
 %description %{_description}
 
@@ -63,7 +63,7 @@ use the "trace" 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..b8fa956
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[package]
+exclude-crate-files = [
+    "bootstrap.sh",
+]
+

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

only message in thread, other threads:[~2026-08-05 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05 13:43 [rpms/rust-peg0.5] 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