Hello community, here is the log from the commit of package perl-DBD-ODBC for openSUSE:Factory checked in at 2011-12-07 14:38:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-DBD-ODBC (Old) and /work/SRC/openSUSE:Factory/.perl-DBD-ODBC.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBD-ODBC", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-DBD-ODBC/perl-DBD-ODBC.changes 2011-09-23 12:36:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-DBD-ODBC.new/perl-DBD-ODBC.changes 2011-12-07 14:38:45.000000000 +0100 @@ -1,0 +2,37 @@ +Fri Dec 2 02:35:19 UTC 2011 - [email protected] + +- update to 1.33 + [ENHANCEMENTS] + * Enable multiple active statement support in 70execute_array.t for + drivers we recognise which support MAS. + * Change column_info to support Unicode catalog/schema/table/column + names. + * Use SQLGetTypeInfoW on unicode builds. + * DBD::ODBC now allows unicode catalog/schema/table parameters to be + passed to table_info. Of course they will only reliably work with + a supporting Unicode ODBC driver. + * Added new odbc_driver_complete attribute allowing the ODBC Driver + Manager and ODBC Driver to throw dialogues for incomplete + connection strings or expired passwords etc. + [BUG FIXES] + * remove debugging printf which output "HERE" in some rare cases. + rt 72534 - thanks John Deighan for spotting this. + * The test 70execute_array.t could fail due to warning being output + if the driver does not support Multiple Active Statements. + * Fix bug in utf16_copy which was not adding a trailing NUL but I'm + not sure this affected anyone until I changed table_info this + release. + * I omitted rt_68720.t from the 1.31 distribution which leads + to a warning as it is mentioned in the MANIFEST. + [DOCUMENTATION] + * new FAQ entries + * added note saying you cannot pass unicode schema/table/column + names to metadata calls like table_info/column_info currently. + [OTHER] + * Changed line endings in README.af and README.unicode to be unix + line endings and native eol-style in subversion. + * Minor changes to Makefile.PL to save the opensuse guys patching. + * Added unicode_sql.pl and unicode_params.pl examples + * added more examples + +------------------------------------------------------------------- Old: ---- DBD-ODBC-1.31.tar.gz New: ---- DBD-ODBC-1.33.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-DBD-ODBC.spec ++++++ --- /var/tmp/diff_new_pack.BkFk5J/_old 2011-12-07 14:38:46.000000000 +0100 +++ /var/tmp/diff_new_pack.BkFk5J/_new 2011-12-07 14:38:46.000000000 +0100 @@ -15,23 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %bcond_with test Name: perl-DBD-ODBC +Version: 1.33 +Release: 4 +License: GPL-1.0+ or Artistic-1.0 %define cpan_name DBD-ODBC Summary: ODBC Driver for DBI -Version: 1.31 -Release: 4 -License: GPL+ or Artistic -Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/DBD-ODBC/ -Source: http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{version}.tar.gz +Group: Development/Libraries/Perl +Source: http://search.cpan.org/CPAN/authors/id/M/MJ/MJEVANS/%{cpan_name}-%{version}.tar.gz Patch0: %{name}-1.29-Makefile.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1120 BuildRequires: perl(Test::Simple) >= 0.88 %endif @@ -55,25 +54,25 @@ #rpmlint: wrong-file-end-of-line-encoding for file in README.af README.unicode; do - %{__perl} -p -i -e "s|\r\n|\n|" "$file" + perl -p -i -e "s|\r\n|\n|" "$file" done pushd examples #rpmlint: wrong-file-end-of-line-encoding -find -type f -exec %{__perl} -p -i -e "s|\r\n|\n|" {} \; +find -type f -exec perl -p -i -e "s|\r\n|\n|" {} \; #rpmlint: wrong-script-interpreter for ex in $(ls -1); do - %{__sed} -i -e 's,#[!|#]perl\(.*\),#!%{__perl}\1,' "$ex" - %{__sed} -i -e 's,perl.exe -w,perl -w,' "$ex" + sed -i -e 's,#[!|#]perl\(.*\),#!perl\1,' "$ex" + sed -i -e 's,perl.exe -w,perl -w,' "$ex" done popd %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -81,7 +80,7 @@ %perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root,-) ++++++ DBD-ODBC-1.31.tar.gz -> DBD-ODBC-1.33.tar.gz ++++++ ++++ 1867 lines of diff (skipped) ++++++ perl-DBD-ODBC-1.29-Makefile.diff ++++++ --- /var/tmp/diff_new_pack.BkFk5J/_old 2011-12-07 14:38:46.000000000 +0100 +++ /var/tmp/diff_new_pack.BkFk5J/_new 2011-12-07 14:38:46.000000000 +0100 @@ -1,16 +1,8 @@ Index: Makefile.PL =================================================================== ---- Makefile.PL.orig -+++ Makefile.PL -@@ -116,6 +116,7 @@ my %opts = - COMPRESS => 'gzip -v9', SUFFIX => 'gz' - }, - OBJECT => '$(O_FILES)', -+ OPTIMIZE => "$ENV{RPM_OPT_FLAGS}", - DEFINE => q{}, - ); - my $eumm = $ExtUtils::MakeMaker::VERSION; -@@ -205,6 +206,7 @@ EOT +--- Makefile.PL.orig 2011-07-28 12:31:31.000000000 +0200 ++++ Makefile.PL 2011-12-02 13:28:15.406463804 +0100 +@@ -212,6 +213,7 @@ } print "Overriding ODBC Directory with command line option: $opt_o\n" if $opt_o ; @@ -18,7 +10,7 @@ if ($opt_g) { print "Setting debug options!\n"; if ($OSNAME eq 'MSWin32') { -@@ -339,7 +341,7 @@ EOT +@@ -348,7 +350,7 @@ #$tmp_odbchome =~ s/\\/\//g; #$odbchome = $tmp_odbchome if (-e "$tmp_odbchome/odbc.ini") chomp($odbchome = `cygpath \$WINDIR`); @@ -27,7 +19,7 @@ $odbchome = '/opt/sapdb/interfaces/odbc/'; } } -@@ -438,7 +440,7 @@ EOT +@@ -447,7 +449,7 @@ $opts{INC} .= " -I/usr/include/w32api" if $OSNAME eq 'cygwin'; # TO_DO all this needs to move until later @@ -36,7 +28,7 @@ my $lib_d2 = "$odbchome/dlls"; my $libs = "odbc"; $opts{LIBS} = " -L$lib_d1 -R$lib_d1 -L$lib_d2 -R$lib_d2 -l$libs"; -@@ -478,32 +480,32 @@ EOT +@@ -487,32 +489,32 @@ -e "$odbchome/odbc32.dll")); $myodbc = 'empress' @@ -75,7 +67,7 @@ if (!$myodbc) { local($LIST_SEPARATOR) = ", "; -@@ -531,7 +533,7 @@ EOT +@@ -540,7 +542,7 @@ if ($myodbc eq 'Microsoft ODBC') { print "\nBuilding for Microsoft under Cygwin\n"; @@ -84,7 +76,7 @@ print {$sqlhfh} "#include <windows.h>\n"; print {$sqlhfh} "#include <sql.h>\n"; print {$sqlhfh} "#include <sqltypes.h>\n"; -@@ -564,7 +566,7 @@ EOT +@@ -573,7 +575,7 @@ # remove lib prefix and .so suffix so "-l" style link can be used $ilibname =~ s/^lib(iodbc.*?)\.\w+$/$1/; $opts{LIBS} = "-L$odbclibdir -l$ilibname"; @@ -93,7 +85,7 @@ if (!defined($ENV{LD_LIBRARY_PATH})) || ($ENV{LD_LIBRARY_PATH} =~ /\Q$odbclibdir/); } -@@ -677,7 +679,11 @@ EOT +@@ -687,7 +689,11 @@ print {$sqlhfh} qq{#define DBD_ODBC_NO_DATASOURCES\n}; $opts{INC} .= " -I$odbchome/incl"; @@ -106,7 +98,7 @@ } elsif ($myodbc eq 'adabas') { print {$sqlhfh} "#define FAR \n#define EXPORT \n#define CALLBACK \n"; -@@ -736,7 +742,7 @@ if ($OSNAME eq 'darwin') { +@@ -746,7 +752,7 @@ # SQLGetPrivateProfileString is in libiodbcinst.a my $osver = `uname -r`; if ($osver && ($osver =~ /^8/)) { -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
