rpms/perl-DBD-SQLite/devel rt32100.patch, NONE, 1.1 perl-DBD-SQLite.spec, 1.18, 1.19

Chris Weyl cweyl at fedoraproject.org
Wed Mar 19 08:28:59 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-DBD-SQLite/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7579

Modified Files:
	perl-DBD-SQLite.spec 
Added Files:
	rt32100.patch 
Log Message:
* Tue Mar 18 2008 Chris Weyl <cweyl at alumni.drew.edu> 1.14-6
- apply sanity patches derived from RT#32100


rt32100.patch:

--- NEW FILE rt32100.patch ---
--- dbdimp.c.orig	2008-03-18 17:37:18.580463431 -0700
+++ dbdimp.c	2008-03-18 17:39:04.320466041 -0700
@@ -399,7 +399,7 @@
                 continue;
             }
             /* There are bug reports that say this should be sqlite3_reset() */
-            sqlite3_finalize(imp_sth->stmt);
+            sqlite3_reset(imp_sth->stmt);
             sqlite_error(sth, (imp_xxh_t*)imp_sth, imp_sth->retval, (char*)sqlite3_errmsg(imp_dbh->db));
             return -5;
         }
@@ -419,7 +419,7 @@
                           sqlite_trace(5, "exec ok - %d rows, %d cols\n", imp_sth->nrow, DBIc_NUM_FIELDS(imp_sth));
                           return 0;
                           /* There are bug reports that say this should be sqlite3_reset() */
-        default:          sqlite3_finalize(imp_sth->stmt);
+        default:          sqlite3_reset(imp_sth->stmt);
                           sqlite_error(sth, (imp_xxh_t*)imp_sth, imp_sth->retval, (char*)sqlite3_errmsg(imp_dbh->db));
                           return -6;
     }


Index: perl-DBD-SQLite.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-DBD-SQLite/devel/perl-DBD-SQLite.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- perl-DBD-SQLite.spec	28 Feb 2008 13:02:33 -0000	1.18
+++ perl-DBD-SQLite.spec	19 Mar 2008 08:28:17 -0000	1.19
@@ -1,6 +1,6 @@
 Name:           perl-DBD-SQLite
 Version:        1.14
-Release:        5%{?dist}.1
+Release:        6%{?dist}
 Summary:        Self Contained RDBMS in a DBI Driver
 
 Group:          Development/Libraries
@@ -9,6 +9,9 @@
 Source0:        http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+# see http://rt.cpan.org/Public/Bug/Display.html?id=30558
+Patch0:         rt32100.patch
+
 BuildRequires:  perl-DBI >= 1.03
 # if sqlite >= 3.1.3 then
 #   perl-DBD-SQLite uses the external library
@@ -31,7 +34,7 @@
 
 %prep
 %setup -q -n DBD-SQLite-%{version}
-
+%patch0
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -65,6 +68,9 @@
 
 
 %changelog
+* Tue Mar 18 2008 Chris Weyl <cweyl at alumni.drew.edu> 1.14-6
+- apply sanity patches derived from RT#32100
+
 * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.14-5.1
 - Rebuild for perl 5.10 (again)
 




More information about the Fedora-perl-devel-list mailing list