public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-portpicker] rawhide: Regenerate with rust2rpm v28
@ 2026-08-05 12:59 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-05 12:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-portpicker
Branch : rawhide
Commit : e187acb02e73e9abc71e0cff3126de5fe7b8ccf4
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-05T14:59:11+02:00
Stats : +16/-7 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-portpicker/c/e187acb02e73e9abc71e0cff3126de5fe7b8ccf4?branch=rawhide
Log:
Regenerate with rust2rpm v28
---
diff --git a/README.md b/README.md
deleted file mode 100644
index 468ea73..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-portpicker
-
-The rust-portpicker package
diff --git a/rust-portpicker.spec b/rust-portpicker.spec
index fdff65e..f702297 100644
--- a/rust-portpicker.spec
+++ b/rust-portpicker.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 23
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate portpicker
@@ -13,7 +13,8 @@ License: Unlicense
URL: https://crates.io/crates/portpicker
Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
+BuildRequires: dos2unix
%global _description %{expand:
Pick a free unused port.}
@@ -47,8 +48,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
+dos2unix --keepdate LICENSE README.md
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..9766ad2
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,9 @@
+[requires]
+build = ["dos2unix"]
+
+[scripts]
+prep.post = [
+ "# fix CLRF line endings",
+ "dos2unix --keepdate LICENSE README.md",
+]
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-05 12:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05 12:59 [rpms/rust-portpicker] 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