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

A new commit has been pushed.

Repo   : rpms/rust-pager
Branch : rawhide
Commit : 9921a6e0dbf3e1b245ceb3ed4b44e2021ff3ea90
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-29T22:47:47+02:00
Stats  : +9/-13 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-pager/c/9921a6e0dbf3e1b245ceb3ed4b44e2021ff3ea90?branch=rawhide

Log:
Regenerate with rust2rpm v28

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

diff --git a/rust-pager.spec b/rust-pager.spec
index b140911..4c8098c 100644
--- a/rust-pager.spec
+++ b/rust-pager.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 pager
@@ -14,9 +14,8 @@ License:        Apache-2.0 OR MIT
 URL:            https://crates.io/crates/pager
 Source:         %{crates_source}
 
-ExclusiveArch:  %{rust_arches}
-
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
+BuildRequires:  less
 
 %global _description %{expand:
 Helps pipe your output through an external pager.}
@@ -64,12 +63,11 @@ use the "pedantic" 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
 %cargo_generate_buildrequires
-echo 'less'
 
 %build
 %cargo_build

diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 4574d5d..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-[DEFAULT]
-buildrequires =
-  less

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..7855e19
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,4 @@
+[requires]
+build = [
+    "less",
+]

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

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