public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jFormatString] 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/jFormatString
Branch : rawhide
Commit : 833357549347a4b8e9e2f79c96869a1a0da527db
Author : Richard Fearn <richardfearn@gmail.com>
Date : 2026-11-07T18:38:54+00:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/jFormatString/c/833357549347a4b8e9e2f79c96869a1a0da527db?branch=rawhide
Log:
Use string macros instead of shell expansion
See https://www.youtube.com/watch?v=lMCBubuI4m0&t=1186s
---
diff --git a/jFormatString.spec b/jFormatString.spec
index 65b28ff..faac10a 100644
--- a/jFormatString.spec
+++ b/jFormatString.spec
@@ -1,6 +1,6 @@
%global commit f159b88a16be4d103c7e7beb90e07a92617980b9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global zipcommit %(c=%{commit}; echo ${c:0:12})
+%global shortcommit %{sub %commit 0 7}
+%global zipcommit %{sub %commit 0 12}
Name: jFormatString
Version: 0
^ 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/jFormatString] 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