diff --git a/lua-5.4.0-beta-autotoolize.patch b/lua-5.4.0-beta-autotoolize.patch index 2ff70f8a0a3944d96ba1d77612597c46031fa694..e7e08712fbfa7b06e4278c65f942c6cdb98e3e54 100644 --- a/lua-5.4.0-beta-autotoolize.patch +++ b/lua-5.4.0-beta-autotoolize.patch @@ -3,7 +3,7 @@ diff -up lua-5.4.0-beta/configure.ac.autoxxx lua-5.4.0-beta/configure.ac +++ lua-5.4.0-beta/configure.ac 2019-10-23 15:03:13.296916443 -0400 @@ -0,0 +1,69 @@ +AC_PREREQ(2.59) -+AC_INIT([lua], [5.4.0], [https://bugzilla.redhat.com/], [lua-at], [http://www.lua.org]) ++AC_INIT([lua], [@PACKAGE_VERSION@], [https://bugzilla.redhat.com/], [lua-at], [http://www.lua.org]) +AC_SUBST([MAJOR_VERSION], [5.4]) + +AC_CONFIG_HEADERS([config.h]) diff --git a/lua.spec b/lua.spec index 356712f3b3b0f6764b07f1af2f86b494ba56acb1..6f09393b8e19a0a1daa4cbc3be45f9dd73272962 100644 --- a/lua.spec +++ b/lua.spec @@ -6,7 +6,7 @@ Name: lua Version: 5.4.3 -Release: 14 +Release: 15 Summary: A powerful, efficient, lightweight, embeddable scripting language License: MIT URL: http://www.lua.org/ @@ -94,8 +94,8 @@ mv src/luaconf.h src/luaconf.h.template.in %patch6017 -p1 %patch6018 -p1 -# Put proper version in configure.ac, patch0 hardcodes 5.3.0 -sed -i 's|5.3.0|%{version}|g' configure.ac +# Put proper version in configure.ac, patch0 hardcodes 5.4.0 +sed -i 's|@PACKAGE_VERSION@|%{version}|g' configure.ac && grep 'AC_INIT(\[lua\], \[%{version}\]' configure.ac autoreconf -ifv %build @@ -167,6 +167,9 @@ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua -e"_U= %{_mandir}/man1/lua*.1* %changelog +* Tue Sep 30 2025 fuanan - 5.4.3-15 +- fix package version + * Wed May 08 2024 fuanan - 5.4.3-14 - add lua_closethread to adapt interfacechange