add liblua-5.3.so file
(cherry picked from commit 1c7055201adc01455ae3a412e5c48da86a0b70f9)
This commit is contained in:
parent
049cbc2930
commit
c0c10af825
9
lua.spec
9
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 <liudabo1@huawei.com> - 5.4.3-2
|
||||
- add liblua-5.3.so file
|
||||
|
||||
* Wed Dec 29 2021 liudabo <liudabo1@huawei.com> - 5.4.3-1
|
||||
- update version to 5.4.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user