public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/star] rawhide: Use macros for string manipulation
@ 2026-09-02  8:44 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-02  8:44 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/star
            Branch : rawhide
            Commit : fd82c52e887a2e1e0ef0b3a608b655bd3dd30832
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-09-01T14:31:44-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/star/c/fd82c52e887a2e1e0ef0b3a608b655bd3dd30832?branch=rawhide

            Log:
            Use macros for string manipulation

This is compatible with RPM 4.19 (3 years ago) and is safer than shell
execution.

---
diff --git a/star.spec b/star.spec
index 1633960..320026a 100644
--- a/star.spec
+++ b/star.spec
@@ -4,7 +4,7 @@
 # Use a specific order for building as libraries are linked to each other:
 %global components libschily libdeflt libmdigest libfind librmt rmt star
 Name:           star
-Version:        %(echo %version_schily | tr '-' '.')
+Version:        %{gsub %version_schily - .}
 Release:        %autorelease 
 Summary:        An archiving tool with ACL support
 

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

only message in thread, other threads:[~2026-09-02  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-02  8:44 [rpms/star] rawhide: Use macros for string manipulation Yaakov Selkowitz

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