public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dr_libs] f44: Use various long options
@ 2026-11-11 20:35 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-11 20:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/dr_libs
Branch : f44
Commit : ff47fb920eb859086abc7365e2ed130379324d74
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-05-15T09:33:45+01:00
Stats : +5/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/dr_libs/c/ff47fb920eb859086abc7365e2ed130379324d74?branch=f44
Log:
Use various long options
---
diff --git a/dr_libs.spec b/dr_libs.spec
index b88d208..06d8e7c 100644
--- a/dr_libs.spec
+++ b/dr_libs.spec
@@ -111,7 +111,8 @@ Documentation for dr_libs.
# Omit the "playback" tests. We cannot run these anyway, so we would have to
# skip them, and by not even compiling them, we can avoid a BuildRequires on
# miniaudio.
-sed -r -i 's/^([[:blank:]]*)(.*_playback)/\1# \2/' CMakeLists.txt
+sed --regexp-extended --in-place \
+ 's/^([[:blank:]]*)(.*_playback)/\1# \2/' CMakeLists.txt
mkdir -p tests/testvectors/mp3/tests
@@ -127,7 +128,8 @@ mkdir -p tests/testvectors/mp3/tests
%install
# There are no install targets in CMakeLists.txt, so %%cmake_install would do
# nothing. We install manually instead:
-install -t '%{buildroot}%{_includedir}' -p -m 0644 -D dr_*.h
+install -D --preserve-timestamps --mode=0644 \
+ --target='%{buildroot}%{_includedir}' dr_*.h
%check
@@ -144,7 +146,7 @@ skips="${skips})$"
# in the corresponding headers.
while read -r version header
do
- grep -E "\\bv$(echo "${version}" | sed -r 's/\./\\./g')\\b" \
+ grep --extended-regexp "\\bv$(echo "${version}" | sed -r 's/\./\\./g')\\b" \
"%{buildroot}%{_includedir}/${header}" >/dev/null
done <<'EOF'
%(printf '%s\n' '%{dr_flac_version}' | sed -r 's/[~^].*//') dr_flac.h
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-11 20:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 20:35 [rpms/dr_libs] f44: 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