public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cxsc] rawhide: Use lua macros instead of invoking external tools
@ 2026-07-13 22:01 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-13 22:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/cxsc
Branch : rawhide
Commit : 48f67f0481e504d7ea75a20b79224d5e09e7d222
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-07-13T16:01:47-06:00
Stats  : +5/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/cxsc/c/48f67f0481e504d7ea75a20b79224d5e09e7d222?branch=rawhide

Log:
Use lua macros instead of invoking external tools

---
diff --git a/cxsc.spec b/cxsc.spec
index 8d25433..c36d9c1 100644
--- a/cxsc.spec
+++ b/cxsc.spec
@@ -1,11 +1,11 @@
 %global upstreamver 2-5-4
 
 Name:           cxsc
-Version:        %(tr - . <<< %{upstreamver})
+Version:        %{gsub %upstreamver - .}
 Release:        33%{?dist}
 Summary:        C++ library for Extended Scientific Computing
 
-%global majver  %(cut -d. -f1 <<< %{version})
+%global majver  %{gsub %version ^(%d*)%..*$ %1}
 
 License:        LGPL-2.0-or-later
 URL:            https://www2.math.uni-wuppertal.de/wrswt/xsc/cxsc_new.html
@@ -209,6 +209,9 @@ make toolboxtest_dyn
 %doc docu/apidoc
 
 %changelog
+* Mon Jul 13 2026 Jerry James <loganjerry@gmail.com> - 2.5.4-33
+- Use lua macros instead of invoking external tools
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-33
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-07-13 22:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-13 22:01 [rpms/cxsc] rawhide: Use lua macros instead of invoking external tools Jerry James

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