Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lua-luacheck for openSUSE:Factory checked in at 2025-11-05 16:18:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lua-luacheck (Old) and /work/SRC/openSUSE:Factory/.lua-luacheck.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lua-luacheck" Wed Nov 5 16:18:13 2025 rev:3 rq:1315164 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lua-luacheck/lua-luacheck.changes 2023-05-03 15:42:27.774785202 +0200 +++ /work/SRC/openSUSE:Factory/.lua-luacheck.new.1980/lua-luacheck.changes 2025-11-05 16:20:47.736360913 +0100 @@ -1,0 +2,15 @@ +Fri Oct 24 14:48:56 UTC 2025 - Matej Cepl <[email protected]> + +- Switch off building lua51 build of the package. + +------------------------------------------------------------------- +Sun Oct 12 21:59:08 UTC 2025 - Matej Cepl <[email protected]> + +- Fix shebang in the provide start script + +------------------------------------------------------------------- +Sat Oct 11 23:30:50 UTC 2025 - Matej Cepl <[email protected]> + +- Allow building with LuaJIT. + +------------------------------------------------------------------- New: ---- _scmsync.obsinfo build.specials.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lua-luacheck.spec ++++++ --- /var/tmp/diff_new_pack.ibEmi3/_old 2025-11-05 16:20:48.460391348 +0100 +++ /var/tmp/diff_new_pack.ibEmi3/_new 2025-11-05 16:20:48.460391348 +0100 @@ -17,9 +17,15 @@ # -%define flavor @BUILD_FLAVOR@%{nil} +%define flavor @BUILD_FLAVOR@ %define mod_name luacheck +# Remove file dependency on the interpreter +%global __requires_exclude ^%{_bindir}/lua(5\\.[1-9]|jit)?$ +%if "%{flavor}" == "luajit" +%define lua_value 52 +%else %define lua_value %(echo "%{flavor}" |sed -e 's:lua::') +%endif Version: 1.1.0 Release: 0 Summary: Command-line tool for linting and static analysis of Lua code @@ -39,7 +45,7 @@ Requires(post): update-alternatives Requires(postun): update-alternatives Provides: luacheck -Obsoletes: luacheck < 1.0.0 +Obsoletes: luacheck < %{version} BuildArch: noarch %lua_provides %if "%{flavor}" == "" @@ -68,10 +74,10 @@ %install mkdir -p %{buildroot}%{lua_noarchdir} mkdir -p %{buildroot}%{_bindir} -cp bin/luacheck.lua %{buildroot}%{_bindir}/luacheck-%{lua_version} -cp -r src/luacheck %{buildroot}%{lua_noarchdir} -chmod +x %{buildroot}%{_bindir}/luacheck-%{lua_version} -sed -i -e 's,%{_bindir}/lua,%{_bindir}/lua%{lua_version},' %{buildroot}%{_bindir}/luacheck-%{lua_version} +cp -v bin/luacheck.lua %{buildroot}%{_bindir}/luacheck-%{flavor} +cp -rv src/luacheck %{buildroot}%{lua_noarchdir} +chmod +x %{buildroot}%{_bindir}/luacheck-%{flavor} +sed -i -e 's,# *\!%{_bindir}/.*lua,#!%{_bindir}/lua,' %{buildroot}%{_bindir}/luacheck-%{flavor} # update-alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives/ @@ -79,17 +85,16 @@ ln -sf %{_sysconfdir}/alternatives/luacheck %{buildroot}%{_bindir}/luacheck %check -LUA_PATH='%{_datadir}/lua/%{lua_version}/?.lua' -LUA_PATH="%{buildroot}%{lua_noarchdir}/?/init.lua;${LUA_PATH}" -export LUA_PATH="%{buildroot}%{lua_noarchdir}/?.lua;${LUA_PATH}" -%{_bindir}/lua%{lua_version} %{buildroot}%{_bindir}/luacheck-%{lua_version} src/ +LUA_PATH='%{lua_noarchdir}/?.lua;%{lua_noarchdir}/?/init.lua' +export LUA_PATH="%{buildroot}%{lua_noarchdir}/?.lua;%{buildroot}%{lua_noarchdir}/?/init.lua;${LUA_PATH}" +lua %{buildroot}%{_bindir}/luacheck-%{flavor} src/ %post -%{_sbindir}/update-alternatives --install %{_bindir}/luacheck luacheck %{_bindir}/luacheck-%{lua_version} %{lua_value} +%{_sbindir}/update-alternatives --install %{_bindir}/luacheck luacheck %{_bindir}/luacheck-%{flavor} %{lua_value} %postun if [ "$1" = 0 ] ; then - %{_sbindir}/update-alternatives --remove luacheck %{_bindir}/luacheck-%{lua_version} + %{_sbindir}/update-alternatives --remove luacheck %{_bindir}/luacheck-%{flavor} fi %files @@ -97,6 +102,6 @@ %license LICENSE %ghost %{_sysconfdir}/alternatives/luacheck %{_bindir}/luacheck -%{_bindir}/luacheck-%{lua_version} +%{_bindir}/luacheck-%{flavor} %{lua_noarchdir}/luacheck/ ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.ibEmi3/_old 2025-11-05 16:20:48.496392862 +0100 +++ /var/tmp/diff_new_pack.ibEmi3/_new 2025-11-05 16:20:48.500393030 +0100 @@ -1,5 +1,5 @@ <multibuild> -<package>lua51</package> +<package>luajit</package> <package>lua53</package> <package>lua54</package> </multibuild> ++++++ _scmsync.obsinfo ++++++ mtime: 1761317336 commit: b975013bba02808bf7196b6e8a959591882637b9dc49609667890552ce15e855 url: https://src.opensuse.org/lua/lua-luacheck.git revision: b975013bba02808bf7196b6e8a959591882637b9dc49609667890552ce15e855 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-24 16:49:10.000000000 +0200 @@ -0,0 +1,6 @@ +.osc +*.obscpio +*.osc +_build.* +.pbuild +lua*-luacheck-*-build/
