Hello community,
here is the log from the commit of package perl-DBM-Deep for openSUSE:Factory checked in at 2013-12-03 10:30:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBM-Deep (Old)
and /work/SRC/openSUSE:Factory/.perl-DBM-Deep.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBM-Deep"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBM-Deep/perl-DBM-Deep.changes 2013-07-30 16:38:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-DBM-Deep.new/perl-DBM-Deep.changes 2013-12-03 10:30:54.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Nov 26 07:33:47 UTC 2013 - coolo@suse.com
+
+- updated to 2.0010
+ - Can push undefined values onto arrays.
+- remove unmaintained perl-DBM-Deep_Build_n_Test.patch
+
+-------------------------------------------------------------------
Old:
----
DBM-Deep-2.0009.tar.gz
perl-DBM-Deep_Build_n_Test.patch
New:
----
DBM-Deep-2.0010.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DBM-Deep.spec ++++++
--- /var/tmp/diff_new_pack.FAqdxC/_old 2013-12-03 10:30:55.000000000 +0100
+++ /var/tmp/diff_new_pack.FAqdxC/_new 2013-12-03 10:30:55.000000000 +0100
@@ -16,74 +16,82 @@
#
-%bcond_with test
-
Name: perl-DBM-Deep
+Version: 2.0010
+Release: 0
%define cpan_name DBM-Deep
-Summary: Pure perl multi-level hash/array DBM that supports transactions
-License: GPL-1.0+ or Artistic-1.0
+Summary: A pure perl multi-level hash/array DBM that supports transactions
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-Version: 2.0009
-Release: 0
Url: http://search.cpan.org/dist/DBM-Deep/
-Source: http://www.cpan.org/modules/by-module/DBM/DBM-Deep-%{version}.tar.gz
-# would require Test::More >= 0.88 (done_testing)
-%if 0%{?suse_version} < 1120
-Patch0: %{name}_Build_n_Test.patch
-%endif
+Source: http://www.cpan.org/authors/id/R/RK/RKINYON/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Digest::MD5) >= 1.00
-BuildRequires: perl(Fcntl) >= 0.01
-BuildRequires: perl(File::Path) >= 0.01
-BuildRequires: perl(File::Temp) >= 0.01
-BuildRequires: perl(IO::Scalar) >= 0.01
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Scalar::Util) >= 1.14
+BuildRequires: perl(Module::Build) >= 0.40
BuildRequires: perl(Test::Deep) >= 0.095
BuildRequires: perl(Test::Exception) >= 0.21
+BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Warn) >= 0.08
-%if %{with test}
-BuildRequires: perl(Test::Pod) >= 1.14
-BuildRequires: perl(Test::Pod::Coverage) >= 1.04
-%endif
-Requires: perl(Digest::MD5) >= 1.00
-Requires: perl(Fcntl) >= 0.01
-Requires: perl(Scalar::Util) >= 1.14
+#BuildRequires: perl(Clone)
+#BuildRequires: perl(DBI)
+#BuildRequires: perl(DBM::Deep)
+#BuildRequires: perl(DBM::Deep::09830)
+#BuildRequires: perl(DBM::Deep::10002)
+#BuildRequires: perl(DBM::Deep::Array)
+#BuildRequires: perl(DBM::Deep::Engine)
+#BuildRequires: perl(DBM::Deep::Hash)
+#BuildRequires: perl(DBM::Deep::Iterator)
+#BuildRequires: perl(DBM::Deep::Iterator::File::BucketList)
+#BuildRequires: perl(DBM::Deep::Iterator::File::Index)
+#BuildRequires: perl(DBM::Deep::Null)
+#BuildRequires: perl(DBM::Deep::Sector)
+#BuildRequires: perl(DBM::Deep::Sector::DBI)
+#BuildRequires: perl(DBM::Deep::Sector::DBI::Reference)
+#BuildRequires: perl(DBM::Deep::Sector::DBI::Scalar)
+#BuildRequires: perl(DBM::Deep::Sector::File)
+#BuildRequires: perl(DBM::Deep::Sector::File::BucketList)
+#BuildRequires: perl(DBM::Deep::Sector::File::Data)
+#BuildRequires: perl(DBM::Deep::Sector::File::Index)
+#BuildRequires: perl(DBM::Deep::Sector::File::Null)
+#BuildRequires: perl(DBM::Deep::Sector::File::Reference)
+#BuildRequires: perl(DBM::Deep::Sector::File::Scalar)
+#BuildRequires: perl(DBM::Deep::Storage)
+#BuildRequires: perl(DBM::Deep::Storage::DBI)
+#BuildRequires: perl(DBM::Deep::Storage::File)
+#BuildRequires: perl(DBM::Deep::Storage::Test)
+#BuildRequires: perl(FileHandle::Fmode)
+#BuildRequires: perl(Hash::Util::FieldHash)
+#BuildRequires: perl(Pod::Simple)
+#BuildRequires: perl(t::common)
+%{perl_requires}
%description
A unique flat-file database module, written in pure perl. True multi-level
hash/array support (unlike MLDBM, which is faked), hybrid OO / tie()
interface, cross-platform FTPable files, ACID transactions, and is quite
fast. Can handle millions of keys and unlimited levels without significant
-slow-down. Written from the ground-up in pure perl -- this is NOT a
-wrapper around a C-based DBM. Out-of-the-box compatibility with Unix, Mac
-OS X and Windows.
+slow-down. Written from the ground-up in pure perl -- this is NOT a wrapper
+around a C-based DBM. Out-of-the-box compatibility with Unix, Mac OS X and
+Windows.
%prep
%setup -q -n %{cpan_name}-%{version}
-# would require Test::More >= 0.88 (done_testing)
-%if 0%{?suse_version} < 1120
-%patch0 -p1
-%endif
-%{__chmod} 0644 utils/upgrade_db.pl
%build
%{__perl} Build.PL installdirs=vendor
-./Build
+./Build build flags=%{?_smp_mflags}
%check
-LONG_TESTS=1 ./Build test
+./Build test
%install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,-)
+%defattr(-,root,root,755)
%doc Changes etc README utils
%changelog
++++++ DBM-Deep-2.0009.tar.gz -> DBM-Deep-2.0010.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/Build.PL new/DBM-Deep-2.0010/Build.PL
--- old/DBM-Deep-2.0009/Build.PL 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/Build.PL 2013-11-11 15:38:10.000000000 +0100
@@ -72,6 +72,11 @@
},
},
meta_add => { no_index => { directory => [ 'utils' ] } },
+ meta_merge => {
+ resources => {
+ repository => 'https://github.com/robkinyon/dbm-deep',
+ }
+ },
);
if ( $build->y_n( "Run the long-running tests", 'n' ) ) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/Changes new/DBM-Deep-2.0010/Changes
--- old/DBM-Deep-2.0009/Changes 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/Changes 2013-11-11 15:38:10.000000000 +0100
@@ -1,5 +1,8 @@
Revision history for DBM::Deep (ordered by revision number).
+2.0009 Jun 30 13:00:00 2013 PDT
+ - Can push undefined values onto arrays.
+
2.0008 Jun 17 13:00:00 2012 PDT
- Arrays and hashes retrieved from a database no longer create
circular references (RT#77746).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/META.json new/DBM-Deep-2.0010/META.json
--- old/DBM-Deep-2.0009/META.json 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/META.json 2013-11-11 15:38:10.000000000 +0100
@@ -47,7 +47,7 @@
"provides" : {
"DBM::Deep" : {
"file" : "lib/DBM/Deep.pm",
- "version" : "2.0009"
+ "version" : "2.0010"
},
"DBM::Deep::Array" : {
"file" : "lib/DBM/Deep/Array.pm"
@@ -129,7 +129,10 @@
"resources" : {
"license" : [
"http://dev.perl.org/licenses/"
- ]
+ ],
+ "repository" : {
+ "url" : "https://github.com/robkinyon/dbm-deep"
+ }
},
- "version" : "2.0009"
+ "version" : "2.0010"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/META.yml new/DBM-Deep-2.0010/META.yml
--- old/DBM-Deep-2.0009/META.yml 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/META.yml 2013-11-11 15:38:10.000000000 +0100
@@ -25,7 +25,7 @@
provides:
DBM::Deep:
file: lib/DBM/Deep.pm
- version: 2.0009
+ version: 2.0010
DBM::Deep::Array:
file: lib/DBM/Deep/Array.pm
DBM::Deep::Engine:
@@ -83,4 +83,5 @@
perl: 5.008_004
resources:
license: http://dev.perl.org/licenses/
-version: 2.0009
+ repository: https://github.com/robkinyon/dbm-deep
+version: 2.0010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/README new/DBM-Deep-2.0010/README
--- old/DBM-Deep-2.0009/README 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/README 2013-11-11 15:38:10.000000000 +0100
@@ -3,7 +3,7 @@
transactions
VERSION
- 2.0009
+ 2.0010
SYNOPSIS
use DBM::Deep;
@@ -47,7 +47,7 @@
VERSION DIFFERENCES
NOTE: 2.0000 introduces Unicode support in the File back end. This
necessitates a change in the file format. The version 1.0003 format is
- still supported, though, so we have added a /db_version method. If you
+ still supported, though, so we have added a db_version() method. If you
are using a database in the old format, you will have to upgrade it to
get Unicode support.
@@ -860,11 +860,11 @@
my $fh = $db->_fh();
- This method can be called on the root level of the datbase, or any child
- hashes or arrays. All levels share a *root* structure, which contains
- things like the filehandle, a reference counter, and all the options
- specified when you created the object. You can get access to this file
- object by calling the "_storage()" method.
+ This method can be called on the root level of the database, or any
+ child hashes or arrays. All levels share a *root* structure, which
+ contains things like the filehandle, a reference counter, and all the
+ options specified when you created the object. You can get access to
+ this file object by calling the "_storage()" method.
my $file_obj = $db->_storage();
@@ -911,9 +911,9 @@
in a future release by adding singleton support.
TRANSACTIONS
- As of 1.0000, DBM::Deep hass ACID transactions. Every DBM::Deep object
- is completely transaction-ready - it is not an option you have to turn
- on. You do have to specify how many transactions may run simultaneously
+ As of 1.0000, DBM::Deep has ACID transactions. Every DBM::Deep object is
+ completely transaction-ready - it is not an option you have to turn on.
+ You do have to specify how many transactions may run simultaneously
(q.v. "num_txns").
Three new methods have been added to support them. They are:
@@ -1195,7 +1195,7 @@
SPONSORS
Stonehenge Consulting (http://www.stonehenge.com/) sponsored the
- developement of transactions and freespace management, leading to the
+ development of transactions and freespace management, leading to the
1.0000 release. A great debt of gratitude goes out to them for their
continuing leadership in and support of the Perl community.
@@ -1210,6 +1210,9 @@
* James Stanley for bug fix
+ * David Steinbrunner for fixing typos and adding repository cpan
+ metadata
+
SEE ALSO
DBM::Deep::Cookbook(3)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/lib/DBM/Deep/Array.pm new/DBM-Deep-2.0010/lib/DBM/Deep/Array.pm
--- old/DBM-Deep-2.0009/lib/DBM/Deep/Array.pm 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/lib/DBM/Deep/Array.pm 2013-11-11 15:38:10.000000000 +0100
@@ -348,7 +348,7 @@
} $offset .. ($offset + $splice_length - 1);
##
- # Adjust array length, and shift elements to accomodate new section.
+ # Adjust array length, and shift elements to accommodate new section.
##
if ( $new_size != $splice_length ) {
if ($new_size > $splice_length) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/lib/DBM/Deep/Engine/File.pm new/DBM-Deep-2.0010/lib/DBM/Deep/Engine/File.pm
--- old/DBM-Deep-2.0009/lib/DBM/Deep/Engine/File.pm 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/lib/DBM/Deep/Engine/File.pm 2013-11-11 15:38:10.000000000 +0100
@@ -808,7 +808,7 @@
#XXX Add warnings if values weren't set right
@{$self}{qw(byte_size max_buckets data_sector_size num_txns)} = @values;
- # These shenangians are to allow a 256 within a C
+ # These shenanigans are to allow a 256 within a C
$self->{max_buckets} += 1;
$self->{data_sector_size} += 1;
@@ -839,7 +839,7 @@
=head2 _apply_digest( @stuff )
-This will apply the digest methd (default to Digest::MD5::md5) to the arguments
+This will apply the digest method (default to Digest::MD5::md5) to the arguments
passed in and return the result.
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/lib/DBM/Deep/Engine.pm new/DBM-Deep-2.0010/lib/DBM/Deep/Engine.pm
--- old/DBM-Deep-2.0009/lib/DBM/Deep/Engine.pm 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/lib/DBM/Deep/Engine.pm 2013-11-11 15:38:10.000000000 +0100
@@ -11,7 +11,7 @@
# File-wide notes:
# * Every method in here assumes that the storage has been appropriately
# safeguarded. This can be anything from flock() to some sort of manual
-# mutex. But, it's the caller's responsability to make sure that this has
+# mutex. But, it's the caller's responsibility to make sure that this has
# been done.
sub SIG_HASH () { 'H' }
@@ -196,7 +196,7 @@
This takes an object that provides _base_offset(). It will set up all necessary
bookkeeping in order to run all work within a transaction.
-If $obj is already within a transaction, an error wiill be thrown. If there are
+If $obj is already within a transaction, an error will be thrown. If there are
no more available transactions, an error will be thrown.
This returns undef.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBM-Deep-2.0009/lib/DBM/Deep/Internals.pod new/DBM-Deep-2.0010/lib/DBM/Deep/Internals.pod
--- old/DBM-Deep-2.0009/lib/DBM/Deep/Internals.pod 2013-06-30 16:06:02.000000000 +0200
+++ new/DBM-Deep-2.0010/lib/DBM/Deep/Internals.pod 2013-11-11 15:38:10.000000000 +0100
@@ -216,7 +216,7 @@
DBM::Deep uses extremely little RAM relative to the amount of data you can
access. You can iterate through a million keys (using C