Hello community,
here is the log from the commit of package perl-DBI for openSUSE:Factory
checked in at Mon Aug 9 02:12:46 CEST 2010.
--------
--- perl-DBI/perl-DBI.changes 2010-07-20 15:30:00.000000000 +0200
+++ /mounts/work_src_done/STABLE/perl-DBI/perl-DBI.changes 2010-08-06 16:10:32.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Aug 6 14:08:17 UTC 2010 - chris@computersalat.de
+
+- update to 1.613
+ o Fixed Win32 prerequisite module from PathTools to File::Spec.
+ o Changed attribute headings and fixed references in DBI pod (Martin J. Evans)
+ o Corrected typos in DBI::FAQ and DBI::ProxyServer (Ansgar Burchardt)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
DBI-1.612.tar.bz2
New:
----
DBI-1.613.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBI.spec ++++++
--- /var/tmp/diff_new_pack.3qR6nJ/_old 2010-08-09 02:12:30.000000000 +0200
+++ /var/tmp/diff_new_pack.3qR6nJ/_new 2010-08-09 02:12:30.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-DBI (Version 1.612)
+# spec file for package perl-DBI (Version 1.613)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,12 +17,13 @@
# norootforbuild
+%bcond_with opt
Name: perl-DBI
%define cpan_name DBI
Summary: Database independent interface for Perl
-Version: 1.612
-Release: 2
+Version: 1.613
+Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/DBI/
@@ -33,18 +34,24 @@
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
+BuildRequires: perl(Test::Simple) >= 0.90
+#
+%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
-BuildRequires: perl(Test::Simple) >= 0.90
+%endif
+#
Requires: perl = %{perl_version}
-Requires: perl(Clone) >= 0.31
-Requires: perl(MLDBM)
-Requires: perl(Net::Daemon)
-Requires: perl(RPC::PlServer) >= 0.2001
-Requires: perl(SQL::Statement) >= 1.28
+Recommends: perl(Clone) >= 0.31
+Recommends: perl(DB_File)
+Recommends: perl(MLDBM)
+Recommends: perl(Net::Daemon)
+Recommends: perl(RPC::PlServer) >= 0.2001
+Recommends: perl(SQL::Statement) >= 1.28
%description
The DBI is a database access module for the Perl programming language.
++++++ DBI-1.612.tar.bz2 -> DBI-1.613.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBI-1.612/Changes new/DBI-1.613/Changes
--- old/DBI-1.612/Changes 2010-07-16 21:29:27.000000000 +0200
+++ new/DBI-1.613/Changes 2010-07-22 19:28:31.000000000 +0200
@@ -2,11 +2,18 @@
DBI::Changes - List of significant changes to the DBI
-(As of $Date: 2010-07-16 20:29:24 +0100 (Fri, 16 Jul 2010) $ $Revision: 14254 $)
+(As of $Date: 2010-07-22 10:28:29 -0700 (Thu, 22 Jul 2010) $ $Revision: 14271 $)
=cut
-=head2 Changes in DBI 1.612 (svn r14254) 14th July 2010
+=head2 Changes in DBI 1.613 (svn r14271) 22nd July 2010
+
+ Fixed Win32 prerequisite module from PathTools to File::Spec.
+
+ Changed attribute headings and fixed references in DBI pod (Martin J. Evans)
+ Corrected typos in DBI::FAQ and DBI::ProxyServer (Ansgar Burchardt)
+
+=head2 Changes in DBI 1.612 (svn r14254) 16th July 2010
NOTE: This is a minor release for the DBI core but a major release for
DBD::File and drivers that depend on it, like DBD::DBM and DBD::CSV.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBI-1.612/DBI.pm new/DBI-1.613/DBI.pm
--- old/DBI-1.612/DBI.pm 2010-07-02 16:14:46.000000000 +0200
+++ new/DBI-1.613/DBI.pm 2010-07-22 19:28:31.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: DBI.pm 14216 2010-06-30 20:01:37Z mjevans $
+# $Id: DBI.pm 14271 2010-07-22 17:28:29Z timbo $
# vim: ts=8:sw=4:et
#
# Copyright (c) 1994-2010 Tim Bunce Ireland
@@ -9,7 +9,7 @@
require 5.008_001;
BEGIN {
-$DBI::VERSION = "1.612"; # ==> ALSO update the version in the pod text below!
+$DBI::VERSION = "1.613"; # ==> ALSO update the version in the pod text below!
}
=head1 NAME
@@ -121,8 +121,8 @@
=head2 NOTES
-This is the DBI specification that corresponds to the DBI version 1.612
-($Revision: 14216 $).
+This is the DBI specification that corresponds to the DBI version 1.613
+($Revision: 14271 $).
The DBI is evolving at a steady pace, so it's good to check that
you have the latest copy.
@@ -3491,7 +3491,9 @@
$h->{AttributeName} = ...; # set/write
... = $h->{AttributeName}; # get/read
-=head3 C<Warn> (boolean, inherited)
+=head3 C<Warn>
+
+Type: boolean, inherited
The C<Warn> attribute enables useful warnings for certain bad
practices. It is enabled by default and should only be disabled in
@@ -3501,7 +3503,9 @@
The C<Warn> attribute is not related to the C<PrintWarn> attribute.
-=head3 C<Active> (boolean, read-only)
+=head3 C<Active>
+
+Type: boolean, read-only
The C<Active> attribute is true if the handle object is "active". This is rarely used in
applications. The exact meaning of active is somewhat vague at the
@@ -3511,7 +3515,9 @@
that may have more data to fetch. (Fetching all the data or calling C<$sth-E<gt>finish>
sets C<Active> off.)
-=head3 C<Executed> (boolean)
+=head3 C<Executed>
+
+Type: boolean
The C<Executed> attribute is true if the handle object has been "executed".
Currently only the $dbh do() method and the $sth execute(), execute_array(),
@@ -3528,7 +3534,9 @@
The C<Executed> attribute was added in DBI 1.41.
-=head3 C<Kids> (integer, read-only)
+=head3 C<Kids>
+
+Type: integer, read-only
For a driver handle, C<Kids> is the number of currently existing database
handles that were created from that driver handle. For a database
@@ -3536,24 +3544,32 @@
were created from that database handle.
For a statement handle, the value is zero.
-=head3 C<ActiveKids> (integer, read-only)
+=head3 C<ActiveKids>
+
+Type: integer, read-only
Like C<Kids>, but only counting those that are C<Active> (as above).
-=head3 C<CachedKids> (hash ref)
+=head3 C<CachedKids>
+
+Type: hash ref
For a database handle, C<CachedKids> returns a reference to the cache (hash) of
statement handles created by the L method. For a
driver handle, returns a reference to the cache (hash) of
database handles created by the L method.
-=head3 C<Type> (scalar, read-only)
+=head3 C<Type>
+
+Type: scalar, read-only
The C<Type> attribute identifies the type of a DBI handle. Returns
"dr" for driver handles, "db" for database handles and "st" for
statement handles.
-=head3 C<ChildHandles> (array ref)
+=head3 C<ChildHandles>
+
+Type: array ref
The ChildHandles attribute contains a reference to an array of all the
handles created by this handle which are still accessible. The
@@ -3577,7 +3593,9 @@
my %drivers = DBI->installed_drivers();
show_child_handles($_, 0) for (values %drivers);
-=head3 C<CompatMode> (boolean, inherited)
+=head3 C<CompatMode>
+
+Type: boolean, inherited
The C<CompatMode> attribute is used by emulation layers (such as
Oraperl) to enable compatible behaviour in the underlying driver
@@ -3588,7 +3606,9 @@
are handled by the drivers own FETCH method. This makes them slightly
slower but is useful for special-purpose drivers like DBD::Multiplex.
-=head3 C<InactiveDestroy> (boolean)
+=head3 C<InactiveDestroy>
+
+Type: boolean
The default value, false, means a handle will be fully destroyed
as normal when the last reference to it is removed, just as you'd expect.
@@ -3616,7 +3636,9 @@
level (not handle trace level) is set high enough to show the trace
from the DBI's method dispatcher, e.g. >= 9.
-=head3 C<PrintWarn> (boolean, inherited)
+=head3 C<PrintWarn>
+
+Type: boolean, inherited
The C<PrintWarn> attribute controls the printing of warnings recorded
by the driver. When set to a true value the DBI will check method
@@ -3643,7 +3665,9 @@
still indicate the fact that there were warnings by setting the
warning string to, for example: "3 warnings".
-=head3 C<PrintError> (boolean, inherited)
+=head3 C<PrintError>
+
+Type: boolean, inherited
The C<PrintError> attribute can be used to force errors to generate warnings (using
C<warn>) in addition to returning error codes in the normal way. When set
@@ -3658,7 +3682,9 @@
If desired, the warnings can be caught and processed using a C<$SIG{__WARN__}>
handler or modules like CGI::Carp and CGI::ErrorWrap.
-=head3 C<RaiseError> (boolean, inherited)
+=head3 C<RaiseError>
+
+Type: boolean, inherited
The C<RaiseError> attribute can be used to force errors to raise exceptions rather
than simply return error codes in the normal way. It is "off" by default.
@@ -3706,7 +3732,9 @@
regardless of how the block is exited.
The same logic applies to other attributes, including C<PrintError>.
-=head3 C<HandleError> (code ref, inherited)
+=head3 C<HandleError>
+
+Type: code ref, inherited
The C<HandleError> attribute can be used to provide your own alternative behaviour
in case of errors. If set to a reference to a subroutine then that
@@ -3771,7 +3799,9 @@
recommended for general use! If you find a I<good> use for it then
please let me know.
-=head3 C<HandleSetErr> (code ref, inherited)
+=head3 C<HandleSetErr>
+
+Type: code ref, inherited
The C<HandleSetErr> attribute can be used to intercept
the setting of handle C<err>, C<errstr>, and C<state> values.
@@ -3807,7 +3837,9 @@
The C<HandleSetErr> attribute was added in DBI 1.41.
-=head3 C<ErrCount> (unsigned integer)
+=head3 C<ErrCount>
+
+Type: unsigned integer
The C<ErrCount> attribute is incremented whenever the set_err()
method records an error. It isn't incremented by warnings or
@@ -3818,7 +3850,9 @@
attribute may not be incremented when using them.
-=head3 C<ShowErrorStatement> (boolean, inherited)
+=head3 C<ShowErrorStatement>
+
+Type: boolean, inherited
The C<ShowErrorStatement> attribute can be used to cause the relevant
Statement text to be appended to the error messages generated by
@@ -3831,7 +3865,9 @@
(placeholder) values then those are formatted and appended to the
end of the Statement text in the error message.
-=head3 C<TraceLevel> (integer, inherited)
+=head3 C<TraceLevel>
+
+Type: integer, inherited
The C<TraceLevel> attribute can be used as an alternative to the
L</trace> method to set the DBI trace level and trace flags for a
@@ -3840,7 +3876,9 @@
The C<TraceLevel> attribute is especially useful combined with
C<local> to alter the trace settings for just a single block of code.
-=head3 C<FetchHashKeyName> (string, inherited)
+=head3 C<FetchHashKeyName>
+
+Type: string, inherited
The C<FetchHashKeyName> attribute is used to specify whether the fetchrow_hashref()
method should perform case conversion on the field names used for
@@ -3851,7 +3889,9 @@
handles the value is frozen when prepare() is called.
-=head3 C<ChopBlanks> (boolean, inherited)
+=head3 C<ChopBlanks>
+
+Type: boolean, inherited
The C<ChopBlanks> attribute can be used to control the trimming of trailing space
characters from fixed width character (CHAR) fields. No other field
@@ -3865,7 +3905,9 @@
does not support it must arrange to return C<undef> as the attribute value.
-=head3 C<LongReadLen> (unsigned integer, inherited)
+=head3 C<LongReadLen>
+
+Type: unsigned integer, inherited
The C<LongReadLen> attribute may be used to control the maximum
length of 'long' type fields (LONG, BLOB, CLOB, MEMO, etc.) which the driver will
@@ -3912,7 +3954,9 @@
See also L</LongTruncOk> for information on truncation of long types.
-=head3 C<LongTruncOk> (boolean, inherited)
+=head3 C<LongTruncOk>
+
+Type: boolean, inherited
The C<LongTruncOk> attribute may be used to control the effect of
fetching a long field value which has been truncated (typically
@@ -3930,7 +3974,9 @@
See also L</LongReadLen>.
-=head3 C<TaintIn> (boolean, inherited)
+=head3 C<TaintIn>
+
+Type: boolean, inherited
If the C<TaintIn> attribute is set to a true value I<and> Perl is running in
taint mode (e.g., started with the C<-T> option), then all the arguments
@@ -3945,7 +3991,9 @@
The C<TaintIn> attribute was added in DBI 1.31.
-=head3 C<TaintOut> (boolean, inherited)
+=head3 C<TaintOut>
+
+Type: boolean, inherited
If the C<TaintOut> attribute is set to a true value I<and> Perl is running in
taint mode (e.g., started with the C<-T> option), then most data fetched
@@ -3966,7 +4014,9 @@
The C<TaintOut> attribute was added in DBI 1.31.
-=head3 C<Taint> (boolean, inherited)
+=head3 C<Taint>
+
+Type: boolean, inherited
The C<Taint> attribute is a shortcut for L</TaintIn> and L</TaintOut> (it is also present
for backwards compatibility).
@@ -3975,14 +4025,19 @@
it returns a true value if and only if L</TaintIn> and L</TaintOut> are
both set to true values.
-=head3 C<Profile> (inherited)
+=head3 C<Profile>
+
+Type: inherited
-The C<Profile> attribute enables the collection and reporting of method call timing statistics.
-See the LDBI::Profile module documentation for I<much> more detail.
+The C<Profile> attribute enables the collection and reporting of
+method call timing statistics. See the LDBI::Profile module
+documentation for I<much> more detail.
The C<Profile> attribute was added in DBI 1.24.
-=head3 C<ReadOnly> (boolean, inherited)
+=head3 C<ReadOnly>
+
+Type: boolean, inherited
An application can set the C<ReadOnly> attribute of a handle to a true value to
indicate that it will not be attempting to make any changes using that handle
@@ -3999,13 +4054,16 @@
A driver can set the C<ReadOnly> attribute itself to indicate that the data it
is connected to cannot be changed for some reason.
-Library modules and proxy drivers can use the attribute to influence their behavior.
-For example, the DBD::Gofer driver considers the C<ReadOnly> attribute when
-making a decision about whether to retry an operation that failed.
+Library modules and proxy drivers can use the attribute to influence
+their behavior. For example, the DBD::Gofer driver considers the
+C<ReadOnly> attribute when making a decision about whether to retry an
+operation that failed.
The attribute should be set to 1 or 0 (or undef). Other values are reserved.
-=head3 C<Callbacks> (hash ref)
+=head3 C<Callbacks>
+
+Type: hash ref
The DBI callback mechanism lets you intercept, and optionally replace, any
method call on a DBI handle. At the extreme, it lets you become a puppet
@@ -5649,7 +5707,9 @@
$h->{AutoCommit} = ...; # set/write
... = $h->{AutoCommit}; # get/read
-=head3 C<AutoCommit> (boolean)
+=head3 C<AutoCommit>
+
+Type: boolean
If true, then database changes cannot be rolled-back (undone). If false,
then database changes automatically occur within a "transaction", which
@@ -5719,7 +5779,9 @@
notes about transactions.
-=head3 C<Driver> (handle)
+=head3 C<Driver>
+
+Type: handle
Holds the handle of the parent driver. The only recommended use for this
is to find the name of the driver using:
@@ -5727,14 +5789,18 @@
$dbh->{Driver}->{Name}
-=head3 C<Name> (string)
+=head3 C<Name>
+
+Type: string
Holds the "name" of the database. Usually (and recommended to be) the
same as the "Cdbi:DriverName:..." string used to connect to the database,
but with the leading "Cdbi:DriverName:" removed.
-=head3 C<Statement> (string, read-only)
+=head3 C<Statement>
+
+Type: string, read-only
Returns the statement string passed to the most recent L</prepare> method
called in this database handle, even if that method failed. This is especially
@@ -5742,7 +5808,9 @@
and sees that a 'prepare' method call failed.
-=head3 C<RowCacheSize> (integer)
+=head3 C<RowCacheSize>
+
+Type: integer
A hint to the driver indicating the size of the local row cache that the
application would like the driver to use for future C<SELECT> statements.
@@ -5763,7 +5831,9 @@
See also the L</RowsInCache> statement handle attribute.
-=head3 C<Username> (string)
+=head3 C<Username>
+
+Type: string
Returns the username used to connect to the database.
@@ -6641,20 +6711,26 @@
See also L</finish> to learn more about the effect it
may have on some attributes.
-=head3 C