public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Richard Fearn <richardfearn@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jFormatString] rawhide: Use string macros instead of shell expansion
Date: Sat, 07 Nov 2026 18:42:31 GMT [thread overview]
Message-ID: <179407695169.1.7909574542796975488.rpms-jFormatString-833357549347@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-07 18:42 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=179407695169.1.7909574542796975488.rpms-jFormatString-833357549347@fedoraproject.org \
--to=richardfearn@gmail.com \
--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