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/clide] rawhide: Use string macros instead of shell expansion
Date: Sat, 07 Nov 2026 18:42:30 GMT	[thread overview]
Message-ID: <179407695092.1.4238456895517416231.rpms-clide-a1b6c9bad12c@fedoraproject.org> (raw)

            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

                 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=179407695092.1.4238456895517416231.rpms-clide-a1b6c9bad12c@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