public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/clide] rawhide: Use string macros instead of shell expansion
@ 2026-11-07 18:42 Richard Fearn
  0 siblings, 0 replies; only message in thread
From: Richard Fearn @ 2026-11-07 18:42 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/clide
            Branch : rawhide
            Commit : a1b6c9bad12c6fd000e512147eb68ece47283742
            Author : Richard Fearn <richardfearn@gmail.com>
            Date   : 2026-11-07T18:38:52+00:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/clide/c/a1b6c9bad12c6fd000e512147eb68ece47283742?branch=rawhide

            Log:
            Use string macros instead of shell expansion

See https://www.youtube.com/watch?v=lMCBubuI4m0&t=1186s

---
diff --git a/clide.spec b/clide.spec
index db37829..9b37097 100644
--- a/clide.spec
+++ b/clide.spec
@@ -1,5 +1,5 @@
 %global commit 11c08954f983345b8a4a49f330d21085d2a87603
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global shortcommit %{sub %commit 0 7}
 
 Name:           clide
 Version:        0.9

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

only message in thread, other threads:[~2026-11-07 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07 18:42 [rpms/clide] rawhide: Use string macros instead of shell expansion Richard Fearn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox