SPECS: perl-DBD-SQLite.spec - release 2: use bundled sqlite (dumps...

radek radek at pld-linux.org
Sun Jan 13 22:13:19 CET 2008


Author: radek                        Date: Sun Jan 13 21:13:19 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 2: use bundled sqlite (dumps core *sometimes* when linked with 3.5.4)
- minor cleanup

---- Files affected:
SPECS:
   perl-DBD-SQLite.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/perl-DBD-SQLite.spec
diff -u SPECS/perl-DBD-SQLite.spec:1.32 SPECS/perl-DBD-SQLite.spec:1.33
--- SPECS/perl-DBD-SQLite.spec:1.32	Thu Jan 10 09:38:36 2008
+++ SPECS/perl-DBD-SQLite.spec	Sun Jan 13 22:13:13 2008
@@ -10,7 +10,7 @@
 Summary(pl.UTF-8):	DBD::SQLite - Kompletny RDBMS zawarty w sterowniku DBI (sqlite 3.x)
 Name:		perl-DBD-SQLite
 Version:	1.14
-Release:	1
+Release:	2
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
@@ -53,13 +53,13 @@
 
 %build
 echo y | %{__perl} Makefile.PL \
+	USE_LOCAL_SQLITE=1 \
 	INSTALLDIRS=vendor
 
-# If SQLITE_PTR_SZ is not set in OPTIMIZE SQLite assumes 64-bit
-# architecture and fails. 
+# dumps core with sqlite 3.5.4 sometimes (eg. t/06error.t)
 %{__make} \
 	CC="%{__cc}" \
-	OPTIMIZE="%{rpmcflags} -DSQLITE_PTR_SZ=`%{__perl} -MConfig -e 'print \"$Config{ptrsize}\";'`"
+	OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
 
@@ -87,6 +87,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2008-01-13 21:13:13  radek
+- release 2: use bundled sqlite (dumps core *sometimes* when linked with 3.5.4)
+- minor cleanup
+
 Revision 1.32  2008-01-10 08:38:36  glen
 - add CC to %{__make}
   grep OPTIMIZE= perl-* -l|xargs grep -c CC=|grep :0|cut -d: -f1|xargs sed -i -e '/%{__make} \\$/a\\tCC="%{__cc}" \\'
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-DBD-SQLite.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list