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

A new commit has been pushed.

Repo   : rpms/givaro
Branch : epel9
Commit : 5654da876d46f2e01c036b2ace885c35f27d358d
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-04T11:22:48+01:00
Stats  : +5/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/givaro/c/5654da876d46f2e01c036b2ace885c35f27d358d?branch=epel9

Log:
Use various long options

---
diff --git a/givaro.spec b/givaro.spec
index 6455e27..f800389 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
 
 %make_build
 

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

only message in thread, other threads:[~2026-06-04 13:33 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:33 [rpms/givaro] epel9: 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