From 212e8f1f1bfd979e559f0dbabec0d4fdc0f652fd Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Wed, 12 Apr 2006 14:43:56 +0000 Subject: [PATCH] Update to 1.12. --- .cvsignore | 2 +- ...-1.11-build-with-system-sqlite-3.3.x.patch | 21 ------------------- perl-DBD-SQLite.spec | 13 ++++++------ sources | 2 +- 4 files changed, 9 insertions(+), 29 deletions(-) delete mode 100644 DBD-SQLite-1.11-build-with-system-sqlite-3.3.x.patch diff --git a/.cvsignore b/.cvsignore index 6ca283b..067e35c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -DBD-SQLite-1.11.tar.gz +DBD-SQLite-1.12.tar.gz diff --git a/DBD-SQLite-1.11-build-with-system-sqlite-3.3.x.patch b/DBD-SQLite-1.11-build-with-system-sqlite-3.3.x.patch deleted file mode 100644 index b919f99..0000000 --- a/DBD-SQLite-1.11-build-with-system-sqlite-3.3.x.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -durN DBD-SQLite-1.11/dbdimp.c DBD-SQLite-1.11.new/dbdimp.c ---- DBD-SQLite-1.11/dbdimp.c Sat Dec 3 01:28:53 2005 -+++ DBD-SQLite-1.11.new/dbdimp.c Mon Mar 27 09:18:19 2006 -@@ -260,7 +260,7 @@ - imp_sth->retval = SQLITE_OK; - imp_sth->params = newAV(); - -- if ((retval = sqlite3_prepare(imp_dbh->db, statement, 0, &(imp_sth->stmt), &extra)) -+ if ((retval = sqlite3_prepare(imp_dbh->db, statement, -1, &(imp_sth->stmt), &extra)) - != SQLITE_OK) - { - if (imp_sth->stmt) { -@@ -320,7 +320,7 @@ - psv = hv_fetch((HV*)SvRV(sth), "Statement", 9, 0); - statement = (psv && SvOK(*psv)) ? SvPV_nolen(*psv) : ""; - sqlite_trace(3, "re-prepare statement %s", statement); -- if ((retval = sqlite3_prepare(imp_dbh->db, statement, 0, &(imp_sth->stmt), &extra)) -+ if ((retval = sqlite3_prepare(imp_dbh->db, statement, -1, &(imp_sth->stmt), &extra)) - != SQLITE_OK) - { - if (imp_sth->stmt) { diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec index 1721538..f24310b 100644 --- a/perl-DBD-SQLite.spec +++ b/perl-DBD-SQLite.spec @@ -1,14 +1,13 @@ Name: perl-DBD-SQLite -Version: 1.11 -Release: 4%{?dist} +Version: 1.12 +Release: 1%{?dist} Summary: Self Contained RDBMS in a DBI Driver Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/DBD-SQLite/ Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite-%{version}.tar.gz -Patch0: DBD-SQLite-1.11-build-with-system-sqlite-3.3.x.patch -Patch1: DBD-SQLite-1.11-VIEW-type-information-segv.patch +Patch0: DBD-SQLite-1.11-type-information-segv.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl-DBI >= 1.03 @@ -33,7 +32,6 @@ As of version 1.09 it can use the external SQLite library (>= 3.1.3). %prep %setup -q -n DBD-SQLite-%{version} %patch0 -p1 -%patch1 -p1 %build @@ -67,9 +65,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 11 2006 Jose Pedro Oliveira - 1.12-1 +- Update to 1.12. + * Wed Apr 5 2006 Jose Pedro Oliveira - 1.11-4 - Patch to build with system sqlite 3.3.x (#183530). -- Patch to avoid VIEW type information segv (#187873). +- Patch to avoid type information segv (#187873). * Thu Mar 9 2006 Jose Pedro Oliveira - 1.11-3 - DBD::SQLite fails to build with the current FC-5 sqlite version (3.3.3); diff --git a/sources b/sources index a2c139c..ff6b286 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7f22d8789245047343e114e655571022 DBD-SQLite-1.11.tar.gz +40b1d208d70d5d8cab7723df96fc239c DBD-SQLite-1.12.tar.gz