diff --git a/lua-5.4.0-beta-autotoolize.patch b/lua-5.4.0-beta-autotoolize.patch index 9a8f1335ce1a519f3c466b32c85d682850c5640f..80528fca3170c1fec2b941322ae0d729a216a9b5 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 315423e2fe507e1de2a3035e5e4ff2827cbee117..03f90bc998982203f8aa5da9187c6856aa7bd64d 100644 --- a/lua.spec +++ b/lua.spec @@ -2,7 +2,7 @@ Name: lua Version: 5.4.8 -Release: 1 +Release: 2 Summary: A powerful, efficient, lightweight, embeddable scripting language License: MIT URL: https://www.lua.org/ @@ -52,8 +52,8 @@ cp %{S:3} . mv src/luaconf.h src/luaconf.h.template.in %autopatch -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 @@ -115,6 +115,9 @@ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua -e"_U= %{_mandir}/man1/lua*.1* %changelog +* Wed Sep 17 2025 Funda Wang - 5.4.8-2 +- fix package version + * Thu Jun 05 2025 Funda Wang - 5.4.8-1 - update to 5.4.8