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

A new commit has been pushed.

Repo   : rpms/rust-box_drawing
Branch : rawhide
Commit : 76cc3a8b76a47ec32070d7e2e97bbe293e96d81b
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-30T22:20:52+02:00
Stats  : +16/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-box_drawing/c/76cc3a8b76a47ec32070d7e2e97bbe293e96d81b?branch=rawhide

Log:
Regenerate with rust2rpm v28

---
diff --git a/rust-box_drawing.spec b/rust-box_drawing.spec
index 350d79b..e926fc8 100644
--- a/rust-box_drawing.spec
+++ b/rust-box_drawing.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate box_drawing
@@ -13,7 +13,8 @@ License:        MIT
 URL:            https://crates.io/crates/box_drawing
 Source:         %{crates_source}
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
+BuildRequires:  dos2unix
 
 %global _description %{expand:
 A very simple library containing constants for UTF-8 box drawing.}
@@ -46,8 +47,10 @@ 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
+# fix CLRF line endings
+find . -type f -exec dos2unix --keepdate '{}' +
 
 %generate_buildrequires
 %cargo_generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..b10c7d7
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,9 @@
+[requires]
+build = ["dos2unix"]
+
+[scripts]
+prep.post = [
+    "# fix CLRF line endings",
+    "find . -type f -exec dos2unix --keepdate '{}' +",
+]
+

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

only message in thread, other threads:[~2026-08-30 20:21 UTC | newest]

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