devel: rename liblua.so to liblua5.3.so to fix conflict with liblua-devel [release 5.3.6-2mamba;Mon Jan 03 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 06:31:50 +01:00
parent 7f1cf0bddf
commit f0969f3f1a

View File

@ -3,7 +3,7 @@
Name: lua53
Version: 5.3.6
Release: 1mamba
Release: 2mamba
Summary: A powerful light-weight and embeddable programming language
Group: Applications/Development
Vendor: openmamba
@ -89,7 +89,8 @@ install -d %{buildroot}%{_datadir}/lua
install -d %{buildroot}%{_libdir}
install -m 755 src/liblua.so.%{libmajver} %{buildroot}%{_libdir}
ln -s liblua.so.%{libmajver} %{buildroot}%{_libdir}/liblua.so
ln -s liblua.so.%{libmajver} %{buildroot}%{_libdir}/liblua%{libmajver}.so
mv %{buildroot}%{_libdir}/liblua.a %{buildroot}%{_libdir}/liblua%{libmajver}.a
#install -D -m644 etc/lua.pc %{buildroot}%{_libdir}/pkgconfig/lua.pc
install -d %{buildroot}%{_libdir}/pkgconfig/
@ -101,9 +102,9 @@ includedir=%{_includedir}/lua%{libmajver}
Name: lua
Description: An Extensible Extension Language
Version: %{version}
Version: 5.3.6
Requires:
Libs: -L%{_libdir} -llua -lm -lreadline
Libs: -L%{_libdir} -llua%{libmajver} -lm -lreadline
Cflags: -I%{_includedir}/lua%{libmajver}" > \
%{buildroot}%{_libdir}/pkgconfig/lua%{libmajver}.pc
@ -131,12 +132,15 @@ Cflags: -I%{_includedir}/lua%{libmajver}" > \
%dir %{_includedir}/lua%{libmajver}
%{_includedir}/lua%{libmajver}/*.h
%{_includedir}/lua%{libmajver}/*.hpp
%{_libdir}/liblua.a
%{_libdir}/liblua.so
%{_libdir}/liblua%{libmajver}.a
%{_libdir}/liblua%{libmajver}.so
%{_libdir}/pkgconfig/lua%{libmajver}.pc
%doc README doc/*.html doc/*.css doc/*.gif doc/*.png
%changelog
* Mon Jan 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.6-2mamba
- devel: rename liblua.so to liblua5.3.so to fix conflict with liblua-devel
* Wed Dec 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.6-1mamba
- update to 5.3.6