public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/givaro] epel10: Use various long options
@ 2026-06-04 13:11 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-04 13:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/givaro
Branch : epel10
Commit : 751711d95230f0f19df62630ecd85e05ffd764c5
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-05-18T10:48:35+01:00
Stats  : +5/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/givaro/c/751711d95230f0f19df62630ecd85e05ffd764c5?branch=epel10

Log:
Use various long options

---
diff --git a/givaro.spec b/givaro.spec
index 7bc1fbf..27da903 100644
--- a/givaro.spec
+++ b/givaro.spec
@@ -130,10 +130,11 @@ autoreconf --force --install --verbose
 
 # Get rid of undesirable hardcoded rpaths, and workaround libtool reordering
 # -Wl,--as-needed after all the libraries.
-sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
-    -e 's|CC="\(g..\)"|CC="\1 -Wl,--as-needed"|' \
-    -i libtool
+sed --regexp-extended --in-place \
+    --expression='s@^(hardcode_libdir_flag_spec=).*@\1""@g' \
+    --expression='s@^(runpath_var=)LD_RUN_PATH@\1DIE_RPATH_DIE@g' \
+    --expression='s@(CC="g..)"@\1 -Wl,--as-needed"@' \
+    libtool
 
 
 %build

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

only message in thread, other threads:[~2026-06-04 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04 13:11 [rpms/givaro] epel10: 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