Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package janet for openSUSE:Factory checked in at 2025-06-10 12:06:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/janet (Old) and /work/SRC/openSUSE:Factory/.janet.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "janet" Tue Jun 10 12:06:04 2025 rev:13 rq:1283930 version:1.38.0 Changes: -------- --- /work/SRC/openSUSE:Factory/janet/janet.changes 2025-04-23 18:39:57.979710133 +0200 +++ /work/SRC/openSUSE:Factory/.janet.new.19631/janet.changes 2025-06-10 12:06:04.845423275 +0200 @@ -1,0 +2,6 @@ +Sun Jun 8 12:49:45 UTC 2025 - Soc Virnyl Estela <uncomfyhaloma...@opensuse.org> + +- Use lua scriptlets to define somajor and sominor macros. +- Cleanup and fix list of installed files + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ janet.spec ++++++ --- /var/tmp/diff_new_pack.OOCU1X/_old 2025-06-10 12:06:05.405446493 +0200 +++ /var/tmp/diff_new_pack.OOCU1X/_new 2025-06-10 12:06:05.409446659 +0200 @@ -16,13 +16,27 @@ # -%global somajor 1 -%global sominor 38 -%global revision 0 -%global libname libjanet%{somajor}_%{sominor} - Name: janet -Version: %{somajor}.%{sominor}.%{revision} +Version: 1.38.0 +%{lua: +local version = rpm.expand("%{version}") +local i = 1 +local matches = string.gmatch(version, "%d+") +for m in matches +do + if i == 1 then + rpm.define("somajor " .. m) + end + if i == 2 then + rpm.define("sominor " .. m) + end + if i == 3 then + rpm.define("revision " .. m) + end + i = i + 1 +end +} +%define libname libjanet%{somajor}_%{sominor} Release: 0 Summary: Lisp-like functional and imperative programming language License: MIT @@ -99,7 +113,7 @@ %dir %{_libdir}/janet %dir %{_includedir}/janet -%if 0%{?suse_version} > 1600 || 0%{?sle_version} == 150500 && 0%{?is_opensuse} +%if 0%{?suse_version} && 0%{?is_opensuse} %{_includedir}/janet.h %endif