Update to latest upstream, remove old patch.

f38
Robin Norwood 17 years ago
parent 0b21ee5f9f
commit e02e8fdcf9

@ -1 +1 @@
DBD-SQLite-1.12.tar.gz DBD-SQLite-1.14.tar.gz

@ -1,22 +0,0 @@
diff -ur DBD-SQLite-1.11.orig/dbdimp.c DBD-SQLite-1.11/dbdimp.c
--- DBD-SQLite-1.11.orig/dbdimp.c 2005-12-02 17:28:53.000000000 +0000
+++ DBD-SQLite-1.11/dbdimp.c 2006-02-06 12:10:31.000000000 +0000
@@ -677,11 +677,15 @@
retsv = sv_2mortal(newRV(sv_2mortal((SV*)av)));
for (n = 0; n < i; n++) {
const char *fieldtype = sqlite3_column_decltype(imp_sth->stmt, n);
- int type = sqlite3_column_type(imp_sth->stmt, n);
+ /* int type = sqlite3_column_type(imp_sth->stmt, n); */
/* warn("got type: %d = %s\n", type, fieldtype); */
- type = type_to_odbc_type(type);
+ /* type = type_to_odbc_type(type); */
/* av_store(av, n, newSViv(type)); */
- av_store(av, n, newSVpv(fieldtype, 0));
+ if (fieldtype == NULL) {
+ av_store(av, n, newSVpv("INTEGER", 0));
+ } else {
+ av_store(av, n, newSVpv(fieldtype, 0));
+ }
}
}
else if (strEQ(key, "NULLABLE")) {

@ -1,13 +1,12 @@
Name: perl-DBD-SQLite Name: perl-DBD-SQLite
Version: 1.12 Version: 1.14
Release: 2%{?dist}.1 Release: 1%{?dist}
Summary: Self Contained RDBMS in a DBI Driver Summary: Self Contained RDBMS in a DBI Driver
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/DBD-SQLite/ URL: http://search.cpan.org/dist/DBD-SQLite/
Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite-%{version}.tar.gz
Patch0: DBD-SQLite-1.11-type-information-segv.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl-DBI >= 1.03 BuildRequires: perl-DBI >= 1.03
@ -32,7 +31,6 @@ As of version 1.09 it can use the external SQLite library (>= 3.1.3).
%prep %prep
%setup -q -n DBD-SQLite-%{version} %setup -q -n DBD-SQLite-%{version}
%patch0 -p1
%build %build
@ -66,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Dec 10 2007 Robin Norwood <rnorwood@redhat.com> - 1.14-1
- Update to latest upstream version: 1.14
- Remove patch - no longer needed.
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-2.1 * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-2.1
- correct license tag - correct license tag
- add BR: perl(ExtUtils::MakeMaker) - add BR: perl(ExtUtils::MakeMaker)

@ -1 +1 @@
40b1d208d70d5d8cab7723df96fc239c DBD-SQLite-1.12.tar.gz 78a89cc8fd46bb2a5d537433dcccc8e6 DBD-SQLite-1.14.tar.gz

Loading…
Cancel
Save