public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rancor] rawhide: Improve one-liner to fix newlines
@ 2026-07-03 18:14 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-03 18:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-rancor
            Branch : rawhide
            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=rawhide

            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 '{}' '+'",
 ]

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

only message in thread, other threads:[~2026-07-03 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-03 18:14 [rpms/rust-rancor] rawhide: Improve one-liner to fix newlines Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox