From c0c10af8253277104451fb2ac424c415d96dcb94 Mon Sep 17 00:00:00 2001 From: weiwei_tiantian Date: Thu, 30 Dec 2021 15:10:34 +0800 Subject: [PATCH] add liblua-5.3.so file (cherry picked from commit 1c7055201adc01455ae3a412e5c48da86a0b70f9) --- lua.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lua.spec b/lua.spec index 155eff1..1249369 100644 --- a/lua.spec +++ b/lua.spec @@ -6,7 +6,7 @@ Name: lua Version: 5.4.3 -Release: 1 +Release: 2 Summary: A powerful, efficient, lightweight, embeddable scripting language License: MIT URL: http://www.lua.org/ @@ -24,7 +24,7 @@ Patch1: lua-5.3.0-idsize.patch Patch2: lua-5.2.2-configure-linux.patch Patch3: lua-5.3.0-configure-compat-module.patch -BuildRequires: automake autoconf libtool readline-devel ncurses-devel +BuildRequires: automake autoconf libtool readline-devel ncurses-devel lua Obsoletes: %{name}-libs < %{version}-%{release} Provides: lua(abi) = %{major_version} @@ -83,6 +83,7 @@ install -p -m 644 %{SOURCE2} %{buildroot}%{_includedir}/luaconf.h # Install rpm-macro install -Dpm 0644 %{SOURCE1000} $RPM_BUILD_ROOT/%{macrosdir}/macros.lua +cp -a %{_libdir}/liblua-5.3.so $RPM_BUILD_ROOT%{_libdir} %check cd ./lua-%{test_version}-tests/ @@ -113,6 +114,7 @@ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua -e"_U= %dir %{_datadir}/lua/%{major_version} %{_libdir}/liblua-%{major_version}.so %{_libdir}/liblua.so +%{_libdir}/liblua-5.3.so %files devel %defattr(-,root,root) @@ -128,6 +130,9 @@ LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/%{_bindir}/lua -e"_U= %{_mandir}/man1/lua*.1* %changelog +* Thu Dec 30 2021 liudabo - 5.4.3-2 +- add liblua-5.3.so file + * Wed Dec 29 2021 liudabo - 5.4.3-1 - update version to 5.4.3