public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ongres-scram] rawhide: Use macros for string manipulation
@ 2026-09-02 8:45 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-02 8:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ongres-scram
Branch : rawhide
Commit : c677ade62758196394063c2891747ece2ce2f765
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-09-01T12:31:05-04:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ongres-scram/c/c677ade62758196394063c2891747ece2ce2f765?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/ongres-scram.spec b/ongres-scram.spec
index 4f0777c..8eab3f3 100644
--- a/ongres-scram.spec
+++ b/ongres-scram.spec
@@ -1,7 +1,7 @@
%global upstream_version 3.3
Name: ongres-scram
-Version: %(echo %{upstream_version} | sed 's/-/~/g')
+Version: %{gsub %{upstream_version} - ~}
Release: %autorelease
Summary: Salted Challenge Response Authentication Mechanism (SCRAM) - Java Implementation
License: BSD-2-Clause
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-02 8:45 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:45 [rpms/ongres-scram] 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