packages: sqlite3/sqlite3.spec - rel 2 - unfortunately heimdal needs libsql...

baggins baggins at pld-linux.org
Thu Feb 11 17:17:40 CET 2010


Author: baggins                      Date: Thu Feb 11 16:17:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- unfortunately heimdal needs libsqlite and needs it on /, so move it there

---- Files affected:
packages/sqlite3:
   sqlite3.spec (1.85 -> 1.86) 

---- Diffs:

================================================================
Index: packages/sqlite3/sqlite3.spec
diff -u packages/sqlite3/sqlite3.spec:1.85 packages/sqlite3/sqlite3.spec:1.86
--- packages/sqlite3/sqlite3.spec:1.85	Wed Jan  6 06:38:15 2010
+++ packages/sqlite3/sqlite3.spec	Thu Feb 11 17:17:35 2010
@@ -26,7 +26,7 @@
 Summary(pl.UTF-8):	Biblioteka SQLite
 Name:		sqlite3
 Version:	3.6.22
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 # Source0Download: http://www.sqlite.org/download.html
@@ -177,7 +177,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir},%{_mandir}/man1}
+install -d $RPM_BUILD_ROOT{/%{_lib},%{_bindir},%{_includedir},%{_libdir},%{_mandir}/man1}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
@@ -187,6 +187,11 @@
 sed -i -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libdir}/tcl%{tclver}/sqlite3/pkgIndex.tcl
 %endif
 
+mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*) \
+	$RPM_BUILD_ROOT%{_libdir}/libsqlite3.so
+
 cp -a sqlite3.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
@@ -199,8 +204,8 @@
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_bindir}/sqlite3
-%attr(755,root,root) %{_libdir}/libsqlite3.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsqlite3.so.0
+%attr(755,root,root) /%{_lib}/libsqlite3.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libsqlite3.so.0
 %{_mandir}/man1/sqlite3.1*
 
 %files devel
@@ -229,6 +234,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.86  2010/02/11 16:17:35  baggins
+- rel 2
+- unfortunately heimdal needs libsqlite and needs it on /, so move it there
+
 Revision 1.85  2010/01/06 05:38:15  adamg
 - updated to 3.6.22
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/sqlite3/sqlite3.spec?r1=1.85&r2=1.86&f=u



More information about the pld-cvs-commit mailing list