Hello community,
here is the log from the commit of package perl-DBD-ODBC
checked in at Fri Feb 16 18:39:59 CET 2007.
--------
--- perl-DBD-ODBC/perl-DBD-ODBC.changes 2006-01-25 21:39:36.000000000 +0100
+++ perl-DBD-ODBC/perl-DBD-ODBC.changes 2007-02-16 14:12:42.000000000 +0100
@@ -1,0 +2,26 @@
+Fri Feb 16 14:07:11 CET 2007 - anicka@suse.cz
+
+- update to 1.13
+ * Make ODBC version 3.0 default!
+ * Document more of the DBD::ODBC private attributes/functions.
+ * Add array parameter binding (per new DBI Spec)
+ * Add row caching/multiple row fetches to speed selects
+ * Better/more tests on multiple statement handles which ensure
+ the correct number of rows
+ * Better/more tests on all queries which ensure the correct number
+ of rows and data
+ * Better tests on SQLExecDirect/do
+ * Change default behaviour to use SQLDescribeParam instead of
+ SQL_VARCHAR.
+ * Fix inconsistency/bug with odbc_exec_direct vs. odbc_execdirect
+ settings.
+ * Fix handling of print statements for SQL Server.
+ * Due to bug in SQL Server, you must use odbc_exec_direct.
+ * Change tests to use Test::More.
+ * Added odbc_timeout, but untested
+ * Added pod.t test, taken from DBI.
+ * Change to use dbivport.h per new DBI spec.
+ * Add ability to set the cursor type during the connect.
+ * many bugfixes
+
+-------------------------------------------------------------------
Old:
----
DBD-ODBC-1.06.tar.bz2
Makefile.diff
arext.patch
New:
----
DBD-ODBC-1.13.tar.bz2
perl-DBD-ODBC-1.13-Makefile.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBD-ODBC.spec ++++++
--- /var/tmp/diff_new_pack.M18693/_old 2007-02-16 18:36:34.000000000 +0100
+++ /var/tmp/diff_new_pack.M18693/_new 2007-02-16 18:36:34.000000000 +0100
@@ -1,28 +1,28 @@
#
-# spec file for package perl-DBD-ODBC (Version 1.06)
+# spec file for package perl-DBD-ODBC (Version 1.13)
#
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://www.suse.de/feedback/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-DBD-ODBC
+URL: http://cpan.org/modules/by-module/DBD/
BuildRequires: perl-DBI unixODBC-devel
-License: GPL
+License: GNU General Public License (GPL)
Group: Development/Libraries/Perl
Autoreqprov: on
Requires: perl-DBI unixODBC
Requires: perl = %{perl_version}
Summary: Perl DBD module for interfacing with ODBC databases
-Version: 1.06
-Release: 234
+Version: 1.13
+Release: 1
Source: DBD-ODBC-%{version}.tar.bz2
-Patch: Makefile.diff
-Patch1: arext.patch
+Patch: %{name}-%{version}-Makefile.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -38,9 +38,8 @@
Thomas K. Wenrich
%prep
-%setup -n DBD-ODBC-%{version}
+%setup -q -n DBD-ODBC-%{version}
%patch
-%patch1
%build
export ODBCHOME=/usr LIB=%{_lib}
@@ -70,7 +69,30 @@
%{perl_vendorarch}/auto/DBD/*
/var/adm/perl-modules/%{name}
-%changelog -n perl-DBD-ODBC
+%changelog
+* Fri Feb 16 2007 - anicka@suse.cz
+- update to 1.13
+ * Make ODBC version 3.0 default!
+ * Document more of the DBD::ODBC private attributes/functions.
+ * Add array parameter binding (per new DBI Spec)
+ * Add row caching/multiple row fetches to speed selects
+ * Better/more tests on multiple statement handles which ensure
+ the correct number of rows
+ * Better/more tests on all queries which ensure the correct number
+ of rows and data
+ * Better tests on SQLExecDirect/do
+ * Change default behaviour to use SQLDescribeParam instead of
+ SQL_VARCHAR.
+ * Fix inconsistency/bug with odbc_exec_direct vs. odbc_execdirect
+ settings.
+ * Fix handling of print statements for SQL Server.
+ * Due to bug in SQL Server, you must use odbc_exec_direct.
+ * Change tests to use Test::More.
+ * Added odbc_timeout, but untested
+ * Added pod.t test, taken from DBI.
+ * Change to use dbivport.h per new DBI spec.
+ * Add ability to set the cursor type during the connect.
+ * many bugfixes
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 04 2005 - dmueller@suse.de
++++++ DBD-ODBC-1.06.tar.bz2 -> DBD-ODBC-1.13.tar.bz2 ++++++
++++ 15190 lines of diff (skipped)
++++++ perl-DBD-ODBC-1.13-Makefile.diff ++++++
--- Makefile.PL
+++ Makefile.PL
@@ -29,6 +29,7 @@
COMPRESS => 'gzip -v9', SUFFIX => 'gz'
},
OBJECT => '$(O_FILES)',
+ OPTIMIZE => "$ENV{RPM_OPT_FLAGS}",
);
if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
$opts{AUTHOR} = 'Tim Bunce and Jeff Urlwin mailto:dbi-users@perl.org';
@@ -98,6 +99,7 @@
print "Overriding ODBC Directory with command line option: $opt_o\n" if $opt_o ;
my $odbchome= $opt_o || $ENV{ODBCHOME};
+ my $lib=$ENV{LIB};
$odbchome = VMS::Filespec::unixify($odbchome) if $^O eq 'VMS';
@@ -109,7 +111,7 @@
$odbchome = $tmp_odbchome if (-e "$tmp_odbchome/odbc.ini")
}
- if (!$odbchome && -f '/opt/sapdb/interfaces/odbc/lib/libsqlod.a') {
+ if (!$odbchome && (-f '/opt/sapdb/interfaces/odbc/lib/libsqlod.a' || -f '/opt/sapdb/interfaces/odbc/lib/lib64/libsqlod.a')) {
$odbchome = '/opt/sapdb/interfaces/odbc/';
}
@@ -136,7 +138,7 @@
# Try to work out which driver manager is being used.
# Feel free to come up with neat (or un-neat) hacks to get your's to build!
- my $lib_d1 = "$odbchome/lib";
+ my $lib_d1 = "$odbchome/$lib";
my $lib_d2 = "$odbchome/dlls";
my $libs = "odbc";
$opts{LIBS} = " -L$lib_d1 -R$lib_d1 -L$lib_d2 -R$lib_d2 -l$libs";
@@ -156,41 +158,41 @@
# per patches from Nick Gorham
$myodbc = 'unixodbc'
- if !$myodbc && <$odbchome/lib/libodbc.*>;
+ if !$myodbc && <$odbchome/$lib/libodbc.*>;
$myodbc = 'iodbc'
- if !$myodbc && (<$odbchome/*iodbc*> || <$odbchome/lib/*iodbc*>);
+ if !$myodbc && (<$odbchome/*iodbc*> || <$odbchome/$lib/*iodbc*>);
$myodbc = 'esodbc'
if !$myodbc && <$odbchome/*esoobclient*>;
$myodbc = 'empress'
- if !$myodbc && <$odbchome/lib/libempodbc.*>;
+ if !$myodbc && <$odbchome/$lib/libempodbc.*>;
$myodbc = 'intersolve'
if !$myodbc && -f "$odbchome/include/qeodbc.h";
$myodbc = 'sapdb'
- if !$myodbc && -f "$odbchome/lib/libsqlod.$arext";
+ if !$myodbc && -f "$odbchome/$lib/libsqlod$arext";
$myodbc = 'adabas'
- if !$myodbc && $ENV{DBROOT} && $odbchome eq $ENV{DBROOT} && -f "$odbchome/lib/odbclib.$arext";
+ if !$myodbc && $ENV{DBROOT} && $odbchome eq $ENV{DBROOT} && -f "$odbchome/$lib/odbclib$arext";
$myodbc = 'udbc'
- if !$myodbc && -f "$odbchome/lib/libudbc.$arext";
+ if !$myodbc && -f "$odbchome/$lib/libudbc$arext";
$myodbc = 'easysoft'
- if !$myodbc && -f "$odbchome/lib/libesoobclient.$dlext";
+ if !$myodbc && -f "$odbchome/$lib/libesoobclient.$dlext";
$myodbc = 'solid'
- if !$myodbc && -f "$odbchome/lib/libsolcli.$dlext";
+ if !$myodbc && -f "$odbchome/$lib/libsolcli.$dlext";
# JL 2002-12-16: This test is accurate on Unix (Solaris 7) with IBM
# Informix ClientSDK 2.80.UC1, which includes IBM Informix CLI
# v3.81.000, an ODBC 3.x driver.
# NB: The correct value for $ODBCHOME is $INFORMIXDIR.
$myodbc = 'informix'
- if !$myodbc && -f "$odbchome/lib/cli/libifcli.$dlext";
+ if !$myodbc && -f "$odbchome/$lib/cli/libifcli.$dlext";
if (!$myodbc) {
local($") = ", ";
@@ -216,7 +218,7 @@
$opts{dynamic_lib} = {OTHERLDFLAGS => "-lodbc32"};
}
elsif ($myodbc eq 'iodbc') {
- my $ilibdir = "$odbchome/lib";
+ my $ilibdir = "$odbchome/$lib";
my @ilibs = <$ilibdir/*iodbc*.*>;
@ilibs = grep { /\.($Config{so}|$Config{dlext}|a)$/ } @ilibs;
die "That's odd, I can't see any iodbc libs in $ilibdir" unless @ilibs;
@@ -241,7 +243,7 @@
# changed /\Q$ilibpath/ to /\Q$ilibdir/ per recommendation
# by Ron Savage
- warn "Warning: LD_LIBRARY_PATH doesn't include $odbchome/lib\n"
+ warn "Warning: LD_LIBRARY_PATH doesn't include $odbchome/$lib\n"
unless $ENV{LD_LIBRARY_PATH} =~ /\Q$ilibdir/;
}
#print SQLH qq{#define FAR \n#define EXPORT \n#define CALLBACK \n};
@@ -252,12 +254,12 @@
#print SQLH qq{#include "fixup_t.h"\n};
}
elsif ($myodbc eq 'unixodbc') {
- my @ilibs = <$odbchome/lib/libodbc.*>;
+ my @ilibs = <$odbchome/$lib/libodbc.*>;
@ilibs = grep { /\.($Config{so}|$Config{dlext}|a)$/ } @ilibs;
die "That's odd, I can't see any unixodbc libs in $odbchome" unless @ilibs;
print "We expect to find the sql.h, sqlext.h and (which were\n";
print "supplied with unixODBC) in \$ODBCHOME/include directory alongside\n";
- print "the @ilibs library. in \$ODBCHOME/lib\n\n";
+ print "the @ilibs library. in \$ODBCHOME/$lib\n\n";
my $ilibpath = $ilibs[0]; # XXX if both .so and .a, pick based on LINKTYPE?
my $ilibname = basename($ilibpath);
$opts{DEFINE} = "-I$odbchome/include";
@@ -268,9 +270,9 @@
else {
# remove lib prefix and .so suffix so "-l" style link can be used
$ilibname =~ s/^lib(odbc.*?)\.\w+$/$1/;
- $opts{LIBS} = "-L$odbchome/lib -l$ilibname";
+ $opts{LIBS} = "-L$odbchome/$lib -l$ilibname";
warn "Warning: LD_LIBRARY_PATH doesn't include $odbchome\n"
- unless $ENV{LD_LIBRARY_PATH} =~ /\Q$odbchome\/lib/;
+ unless $ENV{LD_LIBRARY_PATH} =~ /\Q$odbchome\/$lib/;
}
print SQLH qq{#include