public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/64tass] rawhide: Added sed to strip CRLF line endings from examples/ and syntax/ doc files
@ 2026-10-22  7:56 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-10-22  7:56 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/64tass
            Branch : rawhide
            Commit : 77a74f6446f67597978213b38cf39f7e2d307d15
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-10-21T09:51:46-03:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/64tass/c/77a74f6446f67597978213b38cf39f7e2d307d15?branch=rawhide

            Log:
            Added sed to strip CRLF line endings from examples/ and syntax/ doc files
in %prep. rpmlint flagged wrong-file-end-of-line-encoding on several docs.

---
diff --git a/64tass.spec b/64tass.spec
index eeee4c9..80ee7a9 100644
--- a/64tass.spec
+++ b/64tass.spec
@@ -25,6 +25,9 @@ DTV, and 65EL02, using a syntax similar to that of Omicron TASS and TASM.
 # be verbose during build
 sed -i -e 's/.SILENT://' Makefile
 
+# fix CRLF line endings in doc files
+find examples syntax -type f -exec sed -i 's/\r$//' {} +
+
 %build
 %make_build CFLAGS='%{build_cflags} -DREVISION="\""%{revision}"\""' LDFLAGS="%{build_ldflags}"
 

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

only message in thread, other threads:[~2026-10-22  7:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22  7:56 [rpms/64tass] rawhide: Added sed to strip CRLF line endings from examples/ and syntax/ doc files Filipe Rosset

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