[packages/lua51] - liblua.so.5.1 as direct symlink to avoid removing by ldconfig; release 5

qboosh qboosh at pld-linux.org
Thu Jul 19 18:14:27 CEST 2018


commit ea9ec5b2b2710743af2ed8102cf6368c09188b12
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 19 18:16:20 2018 +0200

    - liblua.so.5.1 as direct symlink to avoid removing by ldconfig; release 5

 lua51.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lua51.spec b/lua51.spec
index fdbd140..8de624d 100644
--- a/lua51.spec
+++ b/lua51.spec
@@ -6,7 +6,7 @@ Summary:	A simple lightweight powerful embeddable programming language
 Summary(pl.UTF-8):	Prosty, lekki ale potężny, osadzalny język programowania
 Name:		lua51
 Version:	5.1.5
-Release:	4
+Release:	5
 License:	MIT
 Group:		Development/Languages
 Source0:	http://www.lua.org/ftp/lua-%{version}.tar.gz
@@ -194,7 +194,7 @@ install -p luac.static $RPM_BUILD_ROOT%{_bindir}/luac51.static
 ln -s liblua5.1.so $RPM_BUILD_ROOT%{_libdir}/liblua51.so
 ln -s liblua5.1.a $RPM_BUILD_ROOT%{_libdir}/liblua51.a
 ln -s lua5.1.pc $RPM_BUILD_ROOT%{_pkgconfigdir}/lua51.pc
-ln -s liblua5.1.so.0 $RPM_BUILD_ROOT%{_libdir}/liblua.so.5.1
+ln -s liblua5.1.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/liblua.so.5.1
 
 # we have pkgconfig files, rm .la
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/liblua5.1.la
@@ -240,7 +240,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %triggerpostun libs -- %{name}-libs < 5.1.5-1.2
 # restore symlink which ldconfig removed (it was ghost of old package)
-ln -s liblua5.1.so.0 %{_libdir}/liblua.so.5.1 || :
+ln -s liblua5.1.so.0.0.0 %{_libdir}/liblua.so.5.1 || :
 
 %files
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lua51.git/commitdiff/ea9ec5b2b2710743af2ed8102cf6368c09188b12



More information about the pld-cvs-commit mailing list