[packages/lmdb] - rel 3; make .so a symlink

arekm arekm at pld-linux.org
Wed Oct 5 20:11:33 CEST 2016


commit 53e63b1154bb2d283a8a3ab5a31922e56c0f312d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Oct 5 20:11:28 2016 +0200

    - rel 3; make .so a symlink

 lmdb.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lmdb.spec b/lmdb.spec
index 48dfc66..d3561c3 100644
--- a/lmdb.spec
+++ b/lmdb.spec
@@ -6,7 +6,7 @@ Summary:	Memory-mapped key-value database
 Summary(pl.UTF-8):	Baza danych klucz-wartość odwzorowywana w pamięci
 Name:		lmdb
 Version:	0.9.18
-Release:	2
+Release:	3
 License:	OpenLDAP
 Group:		Applications/Databases
 #Source0Download: https://github.com/LMDB/lmdb/releases
@@ -117,6 +117,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir},%{_mandir}/man1}
 	libdir=%{_libdir}
 
 # rename to have typical 0.0.0 file
+ln -sf liblmdb.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/liblmdb.so
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/liblmdb.so.{0,0.0.0}
 /sbin/ldconfig -n  $RPM_BUILD_ROOT%{_libdir}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lmdb.git/commitdiff/53e63b1154bb2d283a8a3ab5a31922e56c0f312d



More information about the pld-cvs-commit mailing list