Hello community,

here is the log from the commit of package perl-Data-Dump for openSUSE:Factory 
checked in at 2015-06-15 17:46:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Data-Dump (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Data-Dump.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Data-Dump"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Data-Dump/perl-Data-Dump.changes    
2013-06-05 17:50:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Data-Dump.new/perl-Data-Dump.changes       
2015-06-15 17:46:40.000000000 +0200
@@ -1,0 +2,14 @@
+Sun Jun 14 08:03:10 UTC 2015 - [email protected]
+
+- updated to 1.23
+   see /usr/share/doc/packages/perl-Data-Dump/Changes
+
+  2015-06-09  Gisle Aas <[email protected]>
+  
+     Release 1.23
+  
+     Avoid "Negative repeat count does nothing"-warnings from perl-5.22
+  
+     Typo fixes by David Steinbrunner
+
+-------------------------------------------------------------------

Old:
----
  Data-Dump-1.22.tar.gz

New:
----
  Data-Dump-1.23.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Data-Dump.spec ++++++
--- /var/tmp/diff_new_pack.amkcJY/_old  2015-06-15 17:46:40.000000000 +0200
+++ /var/tmp/diff_new_pack.amkcJY/_new  2015-06-15 17:46:40.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Data-Dump
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,19 @@
 
 
 Name:           perl-Data-Dump
-Version:        1.22
+Version:        1.23
 Release:        0
 %define cpan_name Data-Dump
 Summary:        Pretty printing of data structures
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Data-Dump/
-Source:         
http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-#BuildRequires: perl(Data::Dump)
-#BuildRequires: perl(Data::Dump::FilterContext)
-#BuildRequires: perl(Data::Dump::Filtered)
 %{perl_requires}
 
 %description
@@ -58,6 +56,62 @@
 
 * dump( ... )
 
+* pp( ... )
+
+  Returns a string containing a Perl expression. If you pass this string to
+  Perl's built-in eval() function it should return a copy of the arguments
+  you passed to dump().
+
+  If you call the function with multiple arguments then the output will be
+  wrapped in parenthesis "( ..., ... )". If you call the function with a
+  single argument the output will not have the wrapping. If you call the
+  function with a single scalar (non-reference) argument it will just
+  return the scalar quoted if needed, but never break it into multiple
+  lines. If you pass multiple arguments or references to arrays of hashes
+  then the return value might contain line breaks to format it for easier
+  reading. The returned string will never be "\n" terminated, even if
+  contains multiple lines. This allows code like this to place the
+  semicolon in the expected place:
+
+     print '$obj = ', dump($obj), ";\n";
+
+  If dump() is called in void context, then the dump is printed on STDERR
+  and then "\n" terminated. You might find this useful for quick debug
+  printouts, but the dd*() functions might be better alternatives for this.
+
+  There is no difference between dump() and pp(), except that dump() shares
+  its name with a not-so-useful perl builtin. Because of this some might
+  want to avoid using that name.
+
+* quote( $string )
+
+  Returns a quoted version of the provided string.
+
+  It differs from 'dump($string)' in that it will quote even numbers and
+  not try to come up with clever expressions that might shorten the output.
+  If a non-scalar argument is provided then it's just stringified instead
+  of traversed.
+
+* dd( ... )
+
+* ddx( ... )
+
+  These functions will call dump() on their argument and print the result
+  to STDOUT (actually, it's the currently selected output handle, but
+  STDOUT is the default for that).
+
+  The difference between them is only that ddx() will prefix the lines it
+  prints with "# " and mark the first line with the file and line number
+  where it was called. This is meant to be useful for debug printouts of
+  state within programs.
+
+* dumpf( ..., \&filter )
+
+  Short hand for calling the dump_filtered() function of the
+  Data::Dump::Filtered manpage. This works like dump(), but the last
+  argument should be a filter callback function. As objects are visited the
+  filter callback is invoked and it can modify how the objects are dumped.
+
 %prep
 %setup -q -n %{cpan_name}-%{version}
 

++++++ Data-Dump-1.22.tar.gz -> Data-Dump-1.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.22/Changes new/Data-Dump-1.23/Changes
--- old/Data-Dump-1.22/Changes  2013-05-10 12:34:24.000000000 +0200
+++ new/Data-Dump-1.23/Changes  2015-06-09 20:48:03.000000000 +0200
@@ -1,3 +1,13 @@
+2015-06-09  Gisle Aas <[email protected]>
+
+   Release 1.23
+
+   Avoid "Negative repeat count does nothing"-warnings from perl-5.22
+
+   Typo fixes by David Steinbrunner
+
+
+
 2013-05-10  Gisle Aas <[email protected]>
 
    Release 1.22
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.22/META.json new/Data-Dump-1.23/META.json
--- old/Data-Dump-1.22/META.json        2013-05-10 12:34:46.000000000 +0200
+++ new/Data-Dump-1.23/META.json        2015-06-09 20:50:41.000000000 +0200
@@ -4,7 +4,7 @@
       "Gisle Aas <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter 
version 2.120921",
+   "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter 
version 2.150001",
    "license" : [
       "perl_5"
    ],
@@ -46,5 +46,5 @@
          "url" : "http://github.com/gisle/data-dump";
       }
    },
-   "version" : "1.22"
+   "version" : "1.23"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.22/META.yml new/Data-Dump-1.23/META.yml
--- old/Data-Dump-1.22/META.yml 2013-05-10 12:34:46.000000000 +0200
+++ new/Data-Dump-1.23/META.yml 2015-06-09 20:50:41.000000000 +0200
@@ -3,25 +3,25 @@
 author:
   - 'Gisle Aas <[email protected]>'
 build_requires:
-  Test: 0
+  Test: '0'
 configure_requires:
-  ExtUtils::MakeMaker: 0
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 
2.120921'
+generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter 
version 2.150001'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Data-Dump
 no_index:
   directory:
     - t
     - inc
 recommends:
-  MIME::Base64: 0
+  MIME::Base64: '0'
 requires:
-  Symbol: 0
-  perl: 5.006
+  Symbol: '0'
+  perl: '5.006'
 resources:
   repository: http://github.com/gisle/data-dump
-version: 1.22
+version: '1.23'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.22/lib/Data/Dump/Trace.pm 
new/Data-Dump-1.23/lib/Data/Dump/Trace.pm
--- old/Data-Dump-1.22/lib/Data/Dump/Trace.pm   2013-04-11 21:51:45.000000000 
+0200
+++ new/Data-Dump-1.23/lib/Data/Dump/Trace.pm   2013-05-17 00:07:58.000000000 
+0200
@@ -301,7 +301,7 @@
 
 =item autowrap( $class1 => \%info1, $class2 => \%info2, ... )
 
-Register classes whose objects are are automatically wrapped when
+Register classes whose objects are automatically wrapped when
 returned by one of the call functions below.  If $prefix is provided
 it will be used as to name the objects.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.22/lib/Data/Dump.pm 
new/Data-Dump-1.23/lib/Data/Dump.pm
--- old/Data-Dump-1.22/lib/Data/Dump.pm 2013-05-10 12:32:23.000000000 +0200
+++ new/Data-Dump-1.23/lib/Data/Dump.pm 2015-06-09 20:44:42.000000000 +0200
@@ -9,7 +9,7 @@
 @EXPORT = qw(dd ddx);
 @EXPORT_OK = qw(dump pp dumpf quote);
 
-$VERSION = "1.22";
+$VERSION = "1.23";
 $DEBUG = 0;
 
 use overload ();
@@ -358,7 +358,7 @@
            my $vpad = $INDENT . (" " x ($klen_pad ? $klen_pad + 4 : 0));
            $val =~ s/\n/\n$vpad/gm;
            my $kpad = $nl ? $INDENT : " ";
-           $key .= " " x ($klen_pad - length($key)) if $nl;
+           $key .= " " x ($klen_pad - length($key)) if $nl && $klen_pad > 
length($key);
            $out .= "$kpad$key => $val,$nl";
        }
        $out =~ s/,$/ / unless $nl;
@@ -481,7 +481,7 @@
       for ($_[0]) {
       # Check for repeated string
       if (/^(.)\1\1\1/s) {
-          # seems to be a repating sequence, let's check if it really is
+          # seems to be a repeating sequence, let's check if it really is
           # without backtracking
           unless (/[^\Q$1\E]/) {
               my $base = quote($1);

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to