public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-rancor] f44: Improve one-liner to fix newlines
Date: Fri, 03 Jul 2026 18:14:00 GMT [thread overview]
Message-ID: <178310244049.1.3800956428658205386.rpms-rust-rancor-195f30adf111@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-rancor
Branch : f44
Commit : 195f30adf11182dd6251f7ad100357e2392021e0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-03T07:00:25+01:00
Stats : +2/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rancor/c/195f30adf11182dd6251f7ad100357e2392021e0?branch=f44
Log:
Improve one-liner to fix newlines
[skip changelog]
---
diff --git a/rust-rancor.spec b/rust-rancor.spec
index e7055f1..9d55cfe 100644
--- a/rust-rancor.spec
+++ b/rust-rancor.spec
@@ -62,7 +62,7 @@ use the "alloc" feature of the "%{crate}" crate.
%autosetup -n %{crate}-%{version} -p1
# The crate has a mixture of newline styles.
# https://github.com/rkyv/rancor/commit/b65012a3848487155c072682b151f50599404bae
-find . -type f | xargs -r -t dos2unix --keepdate
+find . -type f -exec dos2unix --keepdate '{}' '+'
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 632e2e4..7012db1 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -16,5 +16,5 @@ build = [
pre = [
"# The crate has a mixture of newline styles.",
"# https://github.com/rkyv/rancor/commit/b65012a3848487155c072682b151f50599404bae",
- "find . -type f | xargs -r -t dos2unix --keepdate",
+ "find . -type f -exec dos2unix --keepdate '{}' '+'",
]
reply other threads:[~2026-07-03 18:14 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=178310244049.1.3800956428658205386.rpms-rust-rancor-195f30adf111@fedoraproject.org \
--to=code@musicinmybrain.net \
--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