Author: qboosh                       Date: Fri May 20 20:08:17 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- License fix: sqlite code is in Public Domain
- updated tcl build, enabled by default

---- Files affected:
packages/sqlite3:
   sqlite3.spec (1.101 -> 1.102) 

---- Diffs:

================================================================
Index: packages/sqlite3/sqlite3.spec
diff -u packages/sqlite3/sqlite3.spec:1.101 packages/sqlite3/sqlite3.spec:1.102
--- packages/sqlite3/sqlite3.spec:1.101 Fri May 20 15:10:15 2011
+++ packages/sqlite3/sqlite3.spec       Fri May 20 22:08:12 2011
@@ -6,7 +6,7 @@
 #
 # Conditional build:
 %bcond_with    tests           # run tests
-%bcond_with    tcl             # enable tcl extension
+%bcond_without tcl             # Tcl extension
 %bcond_without doc             # disable documentation building
 %bcond_without unlock_notify   # disable unlock notify API
 %bcond_with    load_extension  # enable load extension API
@@ -32,7 +32,7 @@
 Name:          sqlite3
 Version:       3.7.6.3
 Release:       1
-License:       LGPL
+License:       Public Domain
 Group:         Libraries
 # Source0Download: http://www.sqlite.org/download.html
 Source0:       http://www.sqlite.org/sqlite-%{srcver}-%{realver}.zip
@@ -41,7 +41,7 @@
 URL:           http://www.sqlite.org/
 %{?with_load_extension:Provides:       %{name}(load_extension)}
 %{?with_unlock_notify:Provides:        %{name}(unlock_notify)}
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: readline-devel
@@ -210,15 +210,10 @@
 install -d 
$RPM_BUILD_ROOT{/%{_lib},%{_bindir},%{_includedir},%{_libdir},%{_mandir}/man1}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       TCLLIBDIR=%{_libdir}/tcl%{tclver}
-
-%if %{with tcl}
-sed -i -e "s#$RPM_BUILD_ROOT##g" 
$RPM_BUILD_ROOT%{_libdir}/tcl%{tclver}/sqlite3/pkgIndex.tcl
-%endif
+       DESTDIR=$RPM_BUILD_ROOT
 
 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.so
 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*) \
        $RPM_BUILD_ROOT%{_libdir}/libsqlite3.so
 
@@ -264,6 +259,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102  2011/05/20 20:08:12  qboosh
+- License fix: sqlite code is in Public Domain
+- updated tcl build, enabled by default
+
 Revision 1.101  2011/05/20 13:10:15  marti
 - up to 3.7.6.3
 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to