From 619debc333cecf92b12ac9110538cd86c987854f8df0072dcebbe586314b2fe5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 16 Jun 2013 06:51:36 +0000 Subject: [PATCH] - updated to 1.627 Fixed VERSION regression in DBI::SQL::Nano [Tim Bunce] Fixed pod text/link was reversed in a few cases RT#85168 Handle aliasing of STORE'd attributes in DBI::DBD::SqlEngine Updated repository URI to git [Jens Rehsack] Fixed skip() count arg in t/48dbi_dbd_sqlengine.t [Tim Bunce] Fixed heap-use-after-free during global destruction RT#75614 thanks to Reini Urban. Fixed ignoring RootClass attribute during connect() by DBI::DBD::SqlEngine reported in RT#84260 by Michael Schout Fixed Gofer for hash randomization in perl 5.17.10+ RT#84146 Clarify docs for can() re RT#83207 Fixed RT#64330 - ping wipes out errstr (Martin J. Evans). Fixed RT#75868 - DBD::Proxy shouldn't call connected() on the server. Fixed RT#80474 - segfault in DESTROY with threads. Fixed RT#81516 - Test failures due to hash randomisation in perl 5.17.6 thanks to Jens Rehsack and H.Merijn Brand and feedback on IRC Fixed RT#81724 - Handle copy-on-write scalars (sprout) Fixed unused variable / self-assignment compiler warnings. Fixed default table_info in DBI::DBD::SqlEngine which passed NAMES attribute instead of NAME to DBD::Sponge RT72343 (Martin J. Evans) Corrected a spelling error thanks to Chris Sanders. Corrected typo in DBI->installed_versions docs RT#78825 thanks to Jan Dubois. Refactored table meta information management from DBD::File into OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=38 --- DBI-1.617.tar.gz | 3 -- DBI-1.627.tar.gz | 3 ++ perl-DBI.changes | 42 +++++++++++++++++ perl-DBI.spec | 119 +++++++++++++++++++++++++++++++++-------------- 4 files changed, 128 insertions(+), 39 deletions(-) delete mode 100644 DBI-1.617.tar.gz create mode 100644 DBI-1.627.tar.gz diff --git a/DBI-1.617.tar.gz b/DBI-1.617.tar.gz deleted file mode 100644 index aafcb3b..0000000 --- a/DBI-1.617.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bcd91d6b8d6af5791e278f3ec9dcb91d454c738cd97bcd50479339efb7a63293 -size 579214 diff --git a/DBI-1.627.tar.gz b/DBI-1.627.tar.gz new file mode 100644 index 0000000..9104cbd --- /dev/null +++ b/DBI-1.627.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:875c1951a5e203c658f0f252e473b766dbcd299a987f86c17151fc6473b5856b +size 585833 diff --git a/perl-DBI.changes b/perl-DBI.changes index b0b0f68..0a6b5e2 100644 --- a/perl-DBI.changes +++ b/perl-DBI.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Sun Jun 16 06:48:13 UTC 2013 - coolo@suse.com + +- updated to 1.627 + Fixed VERSION regression in DBI::SQL::Nano [Tim Bunce] + Fixed pod text/link was reversed in a few cases RT#85168 + Handle aliasing of STORE'd attributes in DBI::DBD::SqlEngine + Updated repository URI to git [Jens Rehsack] + Fixed skip() count arg in t/48dbi_dbd_sqlengine.t [Tim Bunce] + Fixed heap-use-after-free during global destruction RT#75614 + thanks to Reini Urban. + Fixed ignoring RootClass attribute during connect() by + DBI::DBD::SqlEngine reported in RT#84260 by Michael Schout + + Fixed Gofer for hash randomization in perl 5.17.10+ RT#84146 + + Clarify docs for can() re RT#83207 + + Fixed RT#64330 - ping wipes out errstr (Martin J. Evans). + Fixed RT#75868 - DBD::Proxy shouldn't call connected() on the server. + Fixed RT#80474 - segfault in DESTROY with threads. + Fixed RT#81516 - Test failures due to hash randomisation in perl 5.17.6 + thanks to Jens Rehsack and H.Merijn Brand and feedback on IRC + Fixed RT#81724 - Handle copy-on-write scalars (sprout) + Fixed unused variable / self-assignment compiler warnings. + Fixed default table_info in DBI::DBD::SqlEngine which passed NAMES + attribute instead of NAME to DBD::Sponge RT72343 (Martin J. Evans) + + Corrected a spelling error thanks to Chris Sanders. + Corrected typo in DBI->installed_versions docs RT#78825 + thanks to Jan Dubois. + + Refactored table meta information management from DBD::File into + DBI::DBD::SqlEngine (H.Merijn Brand, Jens Rehsack) + Prevent undefined f_dir being used in opendir (H.Merijn Brand) + + Added logic to force destruction of children before parents + during global destruction. See RT#75614. + Added DBD::File Plugin-Support for table names and data sources + (Jens Rehsack, #dbi Team) + Added new tests to 08keeperr for RT#64330 + ------------------------------------------------------------------- Tue Jan 31 09:49:34 UTC 2012 - vcizek@suse.com diff --git a/perl-DBI.spec b/perl-DBI.spec index 49ea758..63d85ae 100644 --- a/perl-DBI.spec +++ b/perl-DBI.spec @@ -1,7 +1,7 @@ # # spec file for package perl-DBI # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,68 +16,115 @@ # -%bcond_with opt - Name: perl-DBI -Version: 1.617 +Version: 1.627 Release: 0 %define cpan_name DBI Summary: Database independent interface for Perl -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/DBI/ -#Source: http://www.cpan.org/modules/by-module/DBI/DBI-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/T/TI/TIMB/%{cpan_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Simple) >= 0.90 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} -# -%if %{with opt} -BuildRequires: perl(Clone) >= 0.31 -BuildRequires: perl(DB_File) -BuildRequires: perl(MLDBM) -BuildRequires: perl(Net::Daemon) -BuildRequires: perl(RPC::PlServer) >= 0.2001 -BuildRequires: perl(SQL::Statement) >= 1.28 -%endif -# -%if 0%{?suse_version} > 0 -Recommends: perl(Clone) >= 0.31 -Recommends: perl(DB_File) +#BuildRequires: perl(AnyEvent) +#BuildRequires: perl(Apache) +#BuildRequires: perl(Apache2::ServerUtil) +#BuildRequires: perl(Cache::Memory) +#BuildRequires: perl(Clone) +#BuildRequires: perl(Coro) +#BuildRequires: perl(Coro::Handle) +#BuildRequires: perl(Coro::Select) +#BuildRequires: perl(Data::Peek) +#BuildRequires: perl(DBD::DBM) +#BuildRequires: perl(DBD::File) +#BuildRequires: perl(DBD::Gofer::Policy::Base) +#BuildRequires: perl(DBD::Gofer::Transport::Base) +#BuildRequires: perl(DBD::Gofer::Transport::pipeone) +#BuildRequires: perl(DBD::Gofer::Transport::stream) +#BuildRequires: perl(DBD::Proxy) +#BuildRequires: perl(DBI) +#BuildRequires: perl(DBI::Const::GetInfo::ANSI) +#BuildRequires: perl(DBI::Const::GetInfo::ODBC) +#BuildRequires: perl(DBI::Const::GetInfoType) +#BuildRequires: perl(DBI::db) +#BuildRequires: perl(DBI::DBD) +#BuildRequires: perl(DBI::DBD::SqlEngine) +#BuildRequires: perl(DBI::Gofer::Execute) +#BuildRequires: perl(DBI::Gofer::Request) +#BuildRequires: perl(DBI::Gofer::Response) +#BuildRequires: perl(DBI::Gofer::Serializer::Base) +#BuildRequires: perl(DBI::Gofer::Serializer::DataDumper) +#BuildRequires: perl(DBI::Gofer::Serializer::Storable) +#BuildRequires: perl(DBI::Gofer::Transport::Base) +#BuildRequires: perl(DBI::Gofer::Transport::pipeone) +#BuildRequires: perl(DBI::Profile) +#BuildRequires: perl(DBI::ProfileDumper) +#BuildRequires: perl(DBI::ProfileSubs) +#BuildRequires: perl(DBI::ProxyServer) +#BuildRequires: perl(DBI::PurePerl) +#BuildRequires: perl(DBI::SQL::Nano) +#BuildRequires: perl(DBI::st) +#BuildRequires: perl(DBI::Util::_accessor) +#BuildRequires: perl(DBI::Util::CacheMemory) +#BuildRequires: perl(DBIx::ContextualFetch) +#BuildRequires: perl(Devel::Leak) +#BuildRequires: perl(JSON::XS) +#BuildRequires: perl(List::MoreUtils) +#BuildRequires: perl(MLDBM::Serializer::JSON) +#BuildRequires: perl(MLDBM::Serializer::YAML) +#BuildRequires: perl(My::DBI) +#BuildRequires: perl(Net::Daemon::Test) +#BuildRequires: perl(Params::Util) +#BuildRequires: perl(RPC::PlClient) >= 0.2000 +#BuildRequires: perl(RPC::PlServer) >= 0.2001 +#BuildRequires: perl(SQL::Statement) +#BuildRequires: perl(Win32API::File) +#BuildRequires: perl(Win32::ODBC) +Recommends: perl(Clone) >= 0.34 Recommends: perl(MLDBM) Recommends: perl(Net::Daemon) Recommends: perl(RPC::PlServer) >= 0.2001 -Recommends: perl(SQL::Statement) >= 1.28 -%endif +Recommends: perl(SQL::Statement) >= 1.402 +%{perl_requires} %description -The DBI is a database access module for the Perl programming language. -It defines a set of methods, variables, and conventions that provide a -consistent database interface, independent of the actual database -being used. +The DBI is a database access module for the Perl programming language. It +defines a set of methods, variables, and conventions that provide a +consistent database interface, independent of the actual database being +used. + +It is important to remember that the DBI is just an interface. The DBI is a +layer of "glue" between an application and one or more database _driver_ +modules. It is the driver modules which do most of the real work. The DBI +provides a standard interface and framework for the drivers to operate +within. + +This document often uses terms like _references_, _objects_, _methods_. If +you're not familiar with those terms then it would be a good idea to read +at least the following perl manuals first: the perlreftut manpage, the +perldsc manpage, the perllol manpage, and the perlboot manpage. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist -%clean -rm -rf %{buildroot} - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes Driver.xst README TODO_2005.txt TODO_gofer.txt ex +%defattr(-,root,root,755) +%doc Changes Driver.xst README.md %changelog