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: Fix sub calls - string indices are 1-based (though 0 also works)
Date: Thu, 12 Nov 2026 08:46:40 GMT	[thread overview]
Message-ID: <179447320087.1.13076883828046855102.rpms-jFormatString-76eeaaa3095e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/jFormatString
Branch : rawhide
Commit : 76eeaaa3095e13a5be6ad9ebc3171233b4a4f34e
Author : Richard Fearn <richardfearn@gmail.com>
Date   : 2026-11-12T08:45:55+00:00
Stats  : +2/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/jFormatString/c/76eeaaa3095e13a5be6ad9ebc3171233b4a4f34e?branch=rawhide

Log:
Fix sub calls - string indices are 1-based (though 0 also works)

---
diff --git a/jFormatString.spec b/jFormatString.spec
index faac10a..92096a7 100644
--- a/jFormatString.spec
+++ b/jFormatString.spec
@@ -1,6 +1,6 @@
 %global commit f159b88a16be4d103c7e7beb90e07a92617980b9
-%global shortcommit %{sub %commit 0 7}
-%global zipcommit %{sub %commit 0 12}
+%global shortcommit %{sub %commit 1 7}
+%global zipcommit %{sub %commit 1 12}
 
 Name:           jFormatString
 Version:        0

                 reply	other threads:[~2026-11-12  8:46 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=179447320087.1.13076883828046855102.rpms-jFormatString-76eeaaa3095e@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