public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gram_grep] epel10.2: Use various long options
@ 2026-06-19 12:44 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-19 12:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gram_grep
Branch : epel10.2
Commit : c1518a559de1c54caf27a57b24127fe729183a07
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-19T13:41:54+01:00
Stats : +9/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gram_grep/c/c1518a559de1c54caf27a57b24127fe729183a07?branch=epel10.2
Log:
Use various long options
---
diff --git a/gram_grep.spec b/gram_grep.spec
index f5ce8a4..ff46653 100644
--- a/gram_grep.spec
+++ b/gram_grep.spec
@@ -35,12 +35,13 @@ greater refinement.
# Fix line terminations (particularly for files that may be installed)
find . -type f -exec file '{}' '+' |
- grep -E '\bCRLF\b' |
- cut -d ':' -f 1 |
- xargs -r dos2unix --keepdate
+ grep --extended-regexp '\bCRLF\b' |
+ cut --delimiter=':' --fields1 |
+ xargs --no-run-if-empty dos2unix --keepdate
# Remove include paths for unbundled header-only library dependencies
-sed -r -i 's@^([[:blank:]]*)(include_directories.*"\.\./)@\1# \2@' \
+sed --regexp-extended --in-place \
+ 's@^([[:blank:]]*)(include_directories.*"\.\./)@\1# \2@' \
CMakeLists.txt
@@ -55,8 +56,10 @@ sed -r -i 's@^([[:blank:]]*)(include_directories.*"\.\./)@\1# \2@' \
%install
# The CMake build system has no provision for installing the program, so
# %%cmake_install would do nothing. We must install the executable manually.
-install -t '%{buildroot}%{_bindir}' -p -D %{_vpath_builddir}/gram_grep
-install -t '%{buildroot}%{_mandir}/man1' -p -D -m 0644 '%{SOURCE1}'
+install -D --preserve-timestamps \
+ --target='%{buildroot}%{_bindir}' '%{_vpath_builddir}/gram_grep'
+install -D --preserve-timestamps --mode=0644 \
+ --target='%{buildroot}%{_mandir}/man1' '%{SOURCE1}'
%check
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-19 12:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 12:44 [rpms/gram_grep] epel10.2: Use various long options 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