public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-humansize] rawhide: Regenerate with rust2rpm v28
Date: Sun, 30 Aug 2026 20:20:41 GMT [thread overview]
Message-ID: <178812124159.1.4990502652766271645.rpms-rust-humansize-8429a6c129bc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-humansize
Branch : rawhide
Commit : 8429a6c129bc7445af712240a2f36b71f7db8013
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-30T22:20:17+02:00
Stats : +16/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-humansize/c/8429a6c129bc7445af712240a2f36b71f7db8013?branch=rawhide
Log:
Regenerate with rust2rpm v28
---
diff --git a/rust-humansize.spec b/rust-humansize.spec
index 9319104..721bd57 100644
--- a/rust-humansize.spec
+++ b/rust-humansize.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 humansize
@@ -14,7 +14,8 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/humansize
Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
+BuildRequires: dos2unix
%global _description %{expand:
A configurable crate to easily represent sizes in a human-readable
@@ -75,8 +76,10 @@ use the "no_alloc" 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 '{}' +",
+]
+
reply other threads:[~2026-08-30 20:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178812124159.1.4990502652766271645.rpms-rust-humansize-8429a6c129bc@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox