From f0969f3f1a14c440a312773ea9263b4be2a598b4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:31:50 +0100 Subject: [PATCH] devel: rename liblua.so to liblua5.3.so to fix conflict with liblua-devel [release 5.3.6-2mamba;Mon Jan 03 2022] --- lua53.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lua53.spec b/lua53.spec index f36f1c4..00d7ed1 100644 --- a/lua53.spec +++ b/lua53.spec @@ -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 5.3.6-2mamba +- devel: rename liblua.so to liblua5.3.so to fix conflict with liblua-devel + * Wed Dec 22 2021 Silvan Calarco 5.3.6-1mamba - update to 5.3.6