public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jFormatString] rawhide: Fix sub calls - string indices are 1-based (though 0 also works)
@ 2026-11-12  8:46 Richard Fearn
  0 siblings, 0 replies; only message in thread
From: Richard Fearn @ 2026-11-12  8:46 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-11-12  8:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12  8:46 [rpms/jFormatString] rawhide: Fix sub calls - string indices are 1-based (though 0 also works) Richard Fearn

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