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

A new commit has been pushed.

Repo   : rpms/rust-async-attributes
Branch : f45
Commit : a1f0c3c1bfd4aae60d3a1dbc93f108c8799c2901
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-31T17:24:59+02:00
Stats  : +20/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-async-attributes/c/a1f0c3c1bfd4aae60d3a1dbc93f108c8799c2901?branch=f45

Log:
Regenerate with rust2rpm v28

---
diff --git a/rust-async-attributes.spec b/rust-async-attributes.spec
index e153122..29ee8a1 100644
--- a/rust-async-attributes.spec
+++ b/rust-async-attributes.spec
@@ -1,6 +1,6 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 28
 # * outdated dev-dependency: async-std
-%bcond_with check
+%bcond check 0
 %global debug_package %{nil}
 
 %global crate async-attributes
@@ -14,7 +14,8 @@ License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/async-attributes
 Source:         %{crates_source}
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
+BuildRequires:  dos2unix
 
 %global _description %{expand:
 Experimental language-level polyfills for Async Rust.}
@@ -49,8 +50,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..3a38ede
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,13 @@
+[requires]
+build = ["dos2unix"]
+
+[scripts]
+prep.post = [
+    "# fix CLRF line endings",
+    "find . -type f -exec dos2unix --keepdate '{}' +",
+]
+
+[tests]
+run = false
+comments = ["outdated dev-dependency: async-std"]
+

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

only message in thread, other threads:[~2026-08-31 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 15:33 [rpms/rust-async-attributes] f45: 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