Hello community,
here is the log from the commit of package perl-DBD-ODBC
checked in at Mon Jun 30 19:01:39 CEST 2008.
--------
--- perl-DBD-ODBC/perl-DBD-ODBC.changes 2008-03-13 13:13:36.000000000 +0100
+++ perl-DBD-ODBC/perl-DBD-ODBC.changes 2008-06-27 15:51:31.000000000 +0200
@@ -1,0 +2,24 @@
+Fri Jun 27 15:47:25 CEST 2008 - anicka@suse.cz
+
+- update to 1.16
+ * More tracing in dbdimp.c for named parameters.
+ * #ifdeffed out odbc_get_primary_keys in dbdimp.c as it is no
+ longer used. $h->func($catalog, $schema, $table, 'GetPrimaryKeys')
+ ends up in dbdimp.c/dbd_st_primary_keys now.
+ * Changes to Makefile.PL to fix a newly introduced bug with 'tr',
+ remove easysoft OOB detection and to try and use odbc_config and
+ odbcinst if we find them to aid automatic configuration. This
+ latter change also adds "odbc_config --cflags" to the CC line
+ when building DBD::ODBC.
+ * Added support for parse_trace_flag and parse_trace_flags methods
+ and defined a DBD::ODBC private flag 'odbcdev' as a test case.
+ * Add support for the 'SQL' trace type. Added private trace type
+ odbcdev as an experimental start.
+ * Change odbc_query_timeout attribute handling so if it is set to 0
+ after having set it to a non-zero value the default of no time
+ out is restored.
+ * Added support for DBI's statistics_info method.
+ * test changes, documentation changes, bugfixes
+- remove -uninitialized patch (fixed in upstream)
+
+-------------------------------------------------------------------
Old:
----
DBD-ODBC-1.15.tar.bz2
perl-DBD-ODBC-1.15-Makefile.diff
perl-DBD-ODBC-1.15-uninitialized.diff
New:
----
DBD-ODBC-1.16.tar.bz2
perl-DBD-ODBC-1.16-Makefile.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBD-ODBC.spec ++++++
--- /var/tmp/diff_new_pack.Rn6268/_old 2008-06-30 18:54:07.000000000 +0200
+++ /var/tmp/diff_new_pack.Rn6268/_new 2008-06-30 18:54:07.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-DBD-ODBC (Version 1.15)
+# spec file for package perl-DBD-ODBC (Version 1.16)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -20,11 +20,10 @@
Requires: perl-DBI unixODBC
Requires: perl = %{perl_version}
Summary: Perl DBD module for interfacing with ODBC databases
-Version: 1.15
+Version: 1.16
Release: 1
Source: DBD-ODBC-%{version}.tar.bz2
Patch: %{name}-%{version}-Makefile.diff
-Patch1: %{name}-%{version}-uninitialized.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -42,7 +41,6 @@
%prep
%setup -q -n DBD-ODBC-%{version}
%patch
-%patch1
%build
export ODBCHOME=/usr LIB=%{_lib}
@@ -71,6 +69,27 @@
/var/adm/perl-modules/%{name}
%changelog
+* Fri Jun 27 2008 anicka@suse.cz
+- update to 1.16
+ * More tracing in dbdimp.c for named parameters.
+ * #ifdeffed out odbc_get_primary_keys in dbdimp.c as it is no
+ longer used. $h->func($catalog, $schema, $table, 'GetPrimaryKeys')
+ ends up in dbdimp.c/dbd_st_primary_keys now.
+ * Changes to Makefile.PL to fix a newly introduced bug with 'tr',
+ remove easysoft OOB detection and to try and use odbc_config and
+ odbcinst if we find them to aid automatic configuration. This
+ latter change also adds "odbc_config --cflags" to the CC line
+ when building DBD::ODBC.
+ * Added support for parse_trace_flag and parse_trace_flags methods
+ and defined a DBD::ODBC private flag 'odbcdev' as a test case.
+ * Add support for the 'SQL' trace type. Added private trace type
+ odbcdev as an experimental start.
+ * Change odbc_query_timeout attribute handling so if it is set to 0
+ after having set it to a non-zero value the default of no time
+ out is restored.
+ * Added support for DBI's statistics_info method.
+ * test changes, documentation changes, bugfixes
+- remove -uninitialized patch (fixed in upstream)
* Thu Mar 13 2008 anicka@suse.cz
- update to 1.15
* DBI->connect changed so informational diagnostics like "Changed
++++++ DBD-ODBC-1.15.tar.bz2 -> DBD-ODBC-1.16.tar.bz2 ++++++
++++ 4855 lines of diff (skipped)
++++++ perl-DBD-ODBC-1.15-Makefile.diff -> perl-DBD-ODBC-1.16-Makefile.diff ++++++
--- perl-DBD-ODBC/perl-DBD-ODBC-1.15-Makefile.diff 2008-03-13 11:08:06.000000000 +0100
+++ perl-DBD-ODBC/perl-DBD-ODBC-1.16-Makefile.diff 2008-06-27 15:42:44.000000000 +0200
@@ -1,14 +1,14 @@
--- Makefile.PL
+++ Makefile.PL
-@@ -32,6 +32,7 @@
+@@ -36,6 +36,7 @@
COMPRESS => 'gzip -v9', SUFFIX => 'gz'
},
OBJECT => '$(O_FILES)',
+ OPTIMIZE => "$ENV{RPM_OPT_FLAGS}",
DEFINE => ''
);
- if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
-@@ -159,6 +160,7 @@
+ my $eumm = $ExtUtils::MakeMaker::VERSION;
+@@ -165,6 +166,7 @@
print "Overriding ODBC Directory with command line option: $opt_o\n" if $opt_o ;
my $odbchome= $opt_o || $ENV{ODBCHOME};
@@ -16,16 +16,16 @@
$odbchome = VMS::Filespec::unixify($odbchome) if $^O eq 'VMS';
-@@ -171,7 +173,7 @@
+@@ -177,7 +179,7 @@
$tmp_odbchome =~ s/^([A-Za-z]):*$/\/\/$1/;
$tmp_odbchome =~ s/\\/\//g;
$odbchome = $tmp_odbchome if (-e "$tmp_odbchome/odbc.ini")
- } elsif (-f '/opt/sapdb/interfaces/odbc/lib/libsqlod.a') {
+ } elsif (-f '/opt/sapdb/interfaces/odbc/lib/libsqlod.a' || -f '/opt/sapdb/interfaces/odbc/lib/lib64/libsqlod.a') {
$odbchome = '/opt/sapdb/interfaces/odbc/';
- }
- # unixODBC - would have liked to use odbc_config but it did not
-@@ -224,7 +226,7 @@
+ } elsif ($^O !~ /MSWin/) {
+ # unixODBC - would have liked to use odbc_config but it did not
+@@ -245,7 +247,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!
@@ -34,9 +34,9 @@
my $lib_d2 = "$odbchome/dlls";
my $libs = "odbc";
$opts{LIBS} = " -L$lib_d1 -R$lib_d1 -L$lib_d2 -R$lib_d2 -l$libs";
-@@ -244,41 +246,41 @@
+@@ -265,35 +267,35 @@
+ $arext =~ s/^\.//;
- # per patches from Nick Gorham
$myodbc = 'unixodbc'
- if !$myodbc && <$odbchome/lib/libodbc.*>;
+ if !$myodbc && <$odbchome/$lib/libodbc.*>;
@@ -45,9 +45,6 @@
- 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.*>;
@@ -67,10 +64,6 @@
- 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";
@@ -85,7 +78,7 @@
if (!$myodbc) {
local($") = ", ";
-@@ -304,7 +306,7 @@
+@@ -319,7 +321,7 @@
$opts{dynamic_lib} = {OTHERLDFLAGS => "-lodbc32"};
}
elsif ($myodbc eq 'iodbc') {
@@ -94,7 +87,7 @@
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;
-@@ -329,7 +331,7 @@
+@@ -344,7 +346,7 @@
# changed /\Q$ilibpath/ to /\Q$ilibdir/ per recommendation
# by Ron Savage
@@ -103,22 +96,16 @@
unless $ENV{LD_LIBRARY_PATH} =~ /\Q$ilibdir/;
}
#print SQLH qq{#define FAR \n#define EXPORT \n#define CALLBACK \n};
-@@ -340,12 +342,12 @@
- #print SQLH qq{#include "fixup_t.h"\n};
- }
- elsif ($myodbc eq 'unixodbc') {
+@@ -383,7 +385,7 @@
+ $opts{DEFINE} .= " $cf";
+ }
+ }
- 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";
-@@ -356,10 +358,10 @@
+ print << "EOT";
+@@ -403,10 +405,10 @@
else {
# remove lib prefix and .so suffix so "-l" style link can be used
$ilibname =~ s/^lib(odbc.*?)\.\w+$/$1/;
@@ -131,7 +118,7 @@
}
print SQLH qq{#include
participants (1)
-
root@Hilbert.suse.de