Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lua-say for openSUSE:Factory checked in at 2025-11-05 16:18:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-say (Old) and /work/SRC/openSUSE:Factory/.lua-say.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua-say" Wed Nov 5 16:18:28 2025 rev:7 rq:1315191 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-say/lua-say.changes 2025-03-12 15:24:41.151808758 +0100 +++ /work/SRC/openSUSE:Factory/.lua-say.new.1980/lua-say.changes 2025-11-05 16:21:21.121764300 +0100 @@ -1,0 +2,17 @@ +Mon Oct 27 23:20:04 UTC 2025 - Matej Cepl <[email protected]> + +- Split the building to separate `test` phase to avoid cycle with + busted. + +------------------------------------------------------------------- +Fri Oct 24 14:50:55 UTC 2025 - Matej Cepl <[email protected]> + +- Switch off building lua51 build of the package. + +------------------------------------------------------------------- +Mon Oct 20 19:57:08 UTC 2025 - Matej Cepl <[email protected]> + +- Add luajit version to _multibuild +- Rewrite to use %luarocks_{build,install} + +------------------------------------------------------------------- New: ---- _scmsync.obsinfo build.specials.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-say.spec ++++++ --- /var/tmp/diff_new_pack.BrY41t/_old 2025-11-05 16:21:22.769833579 +0100 +++ /var/tmp/diff_new_pack.BrY41t/_new 2025-11-05 16:21:22.777833915 +0100 @@ -1,7 +1,7 @@ # # spec file for package lua-say # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,15 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# The luarocks_install macro is replaced by the install-rock.sh script %define flavor @BUILD_FLAVOR@ +%if "%{flavor}" == "test" +%define flavor lua54 +%bcond_without test +%else +%bcond_with test +%endif %define mod_name say Version: 1.4.1 Release: 0 @@ -26,6 +33,7 @@ URL: https://github.com/lunarmodules/say Source: https://github.com/lunarmodules/say/archive/v%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz BuildRequires: %{flavor}-devel +BuildRequires: %{flavor}-luarocks BuildRequires: lua-macros Requires: %{flavor} BuildArch: noarch @@ -34,22 +42,41 @@ Name: lua-say ExclusiveArch: do_not_build %else +%if %{with test} +Name: %{flavor}-say-test +%else Name: %{flavor}-say %endif +%endif +%if %{with test} +BuildRequires: %{flavor}-say +BuildRequires: %{flavor}-busted +%endif %description Useful for internationalization. %prep -%setup -q -n %{mod_name}-%{version} +%autosetup -p1 -n %{mod_name}-%{version} %build -/bin/true +%luarocks_build %install -install -v -D -m 0644 -p -t %{buildroot}%{lua_noarchdir}/say src/say/init.lua +%if %{without test} +%luarocks_install ./%{mod_name}-*.rock +%endif + +%check +%if %{with test} +busted +%endif +%if %{without test} %files -%dir %{lua_noarchdir}/say -%{lua_noarchdir}/say* +%license LICENSE +# Nothing useful in __rocktree/ +%doc README.md CONTRIBUTING.md +%{lua_noarchdir}/say +%endif ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.BrY41t/_old 2025-11-05 16:21:23.085846863 +0100 +++ /var/tmp/diff_new_pack.BrY41t/_new 2025-11-05 16:21:23.117848208 +0100 @@ -1,6 +1,7 @@ <multibuild> -<package>lua51</package> +<package>luajit</package> <package>lua53</package> <package>lua54</package> +<package>test</package> </multibuild> ++++++ _scmsync.obsinfo ++++++ mtime: 1761607237 commit: dcd221789c552bbd4a23f66fa8cab738e97f5056036674644b1660938cd8f9a1 url: https://src.opensuse.org/lua/lua-say.git revision: dcd221789c552bbd4a23f66fa8cab738e97f5056036674644b1660938cd8f9a1 projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2025-10-28 00:21:07.000000000 +0100 @@ -0,0 +1,8 @@ +.assets/ +*.obscpio +*.osc +.osc +.pbuild +_scmsync.obsinfo +_build* +_build.*
