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/dr_libs] f44: Use various long options
Date: Wed, 11 Nov 2026 20:35:12 GMT	[thread overview]
Message-ID: <179442931218.1.4822940395994084963.rpms-dr_libs-ff47fb920eb8@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-11 20:35 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=179442931218.1.4822940395994084963.rpms-dr_libs-ff47fb920eb8@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