Hello community,
here is the log from the commit of package perl-Data-Dump-Streamer for
openSUSE:Factory checked in at 2016-09-26 12:36:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Data-Dump-Streamer (Old)
and /work/SRC/openSUSE:Factory/.perl-Data-Dump-Streamer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Data-Dump-Streamer"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Data-Dump-Streamer/perl-Data-Dump-Streamer.changes
2016-01-22 01:10:00.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Data-Dump-Streamer.new/perl-Data-Dump-Streamer.changes
2016-09-26 12:36:16.000000000 +0200
@@ -1,0 +2,12 @@
+Wed Aug 31 05:29:05 UTC 2016 - [email protected]
+
+- updated to 2.40
+ see /usr/share/doc/packages/perl-Data-Dump-Streamer/Changes
+
+ 2.40
+
+ Fixup issues with JSON and with non-Padwalker builds (thanks to FC)
+ various other tweaks and cleanups to build on newer Perls. Updated
+ meta files, etc.
+
+-------------------------------------------------------------------
Old:
----
Data-Dump-Streamer-2.39.tar.gz
New:
----
Data-Dump-Streamer-2.40.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Data-Dump-Streamer.spec ++++++
--- /var/tmp/diff_new_pack.wsIvV7/_old 2016-09-26 12:36:17.000000000 +0200
+++ /var/tmp/diff_new_pack.wsIvV7/_new 2016-09-26 12:36:17.000000000 +0200
@@ -17,14 +17,15 @@
Name: perl-Data-Dump-Streamer
-Version: 2.39
+Version: 2.40
Release: 0
%define cpan_name Data-Dump-Streamer
-Summary: Accurately serialize a data structure as Perl code.
+Summary: Accurately serialize a data structure as Perl code
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-Dump-Streamer/
-Source:
http://www.cpan.org/authors/id/Y/YV/YVES/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/Y/YV/YVES/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -32,7 +33,6 @@
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(ExtUtils::Depends)
BuildRequires: perl(Module::Build)
-BuildRequires: perl(PadWalker)
Requires: perl(B::Utils)
Recommends: perl(Algorithm::Diff)
Recommends: perl(Compress::Zlib)
@@ -77,6 +77,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes INSTALL.SKIP README
+%doc Changes README.md
%changelog
++++++ Data-Dump-Streamer-2.39.tar.gz -> Data-Dump-Streamer-2.40.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/.gitignore
new/Data-Dump-Streamer-2.40/.gitignore
--- old/Data-Dump-Streamer-2.39/.gitignore 2015-12-24 06:51:10.000000000
+0100
+++ new/Data-Dump-Streamer-2.40/.gitignore 2016-08-30 10:14:14.000000000
+0200
@@ -9,3 +9,5 @@
lib/Data/Dump/Streamer.c
lib/Data/Dump/Streamer.o
*.tar.gz
+lib/DDS.pm
+Data-Dump-Streamer-*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/Changes
new/Data-Dump-Streamer-2.40/Changes
--- old/Data-Dump-Streamer-2.39/Changes 2015-12-24 06:51:10.000000000 +0100
+++ new/Data-Dump-Streamer-2.40/Changes 2016-08-30 10:14:14.000000000 +0200
@@ -1,3 +1,9 @@
+2.40
+
+Fixup issues with JSON and with non-Padwalker builds (thanks to FC)
+various other tweaks and cleanups to build on newer Perls. Updated
+meta files, etc.
+
2.37
Various changes. See github log for changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/MANIFEST
new/Data-Dump-Streamer-2.40/MANIFEST
--- old/Data-Dump-Streamer-2.39/MANIFEST 2015-12-24 06:51:10.000000000
+0100
+++ new/Data-Dump-Streamer-2.40/MANIFEST 2016-08-30 10:14:14.000000000
+0200
@@ -11,7 +11,7 @@
MANIFEST This list of files
MANIFEST.SKIP
META.yml
-README
+README.md
t/as.t
t/blessed.t
t/dogpound.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/META.json
new/Data-Dump-Streamer-2.40/META.json
--- old/Data-Dump-Streamer-2.39/META.json 2015-12-24 06:51:10.000000000
+0100
+++ new/Data-Dump-Streamer-2.40/META.json 2016-08-30 10:14:14.000000000
+0200
@@ -4,7 +4,7 @@
"Yves Orton <[email protected]>, Joshua ben Jore <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4214",
+ "generated_by" : "Module::Build version 0.422",
"license" : [
"perl_5"
],
@@ -73,11 +73,11 @@
"provides" : {
"Data::Dump::Streamer" : {
"file" : "lib/Data/Dump/Streamer.pm",
- "version" : "2.39"
+ "version" : "2.40"
},
"Data::Dump::Streamer::Deparser" : {
"file" : "lib/Data/Dump/Streamer.pm",
- "version" : "2.39"
+ "version" : "2.40"
}
},
"release_status" : "stable",
@@ -89,6 +89,6 @@
"url" : "https://github.com/demerphq/Data-Dump-Streamer"
}
},
- "version" : "2.39",
+ "version" : "2.40",
"x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/META.yml
new/Data-Dump-Streamer-2.40/META.yml
--- old/Data-Dump-Streamer-2.39/META.yml 2015-12-24 06:51:10.000000000
+0100
+++ new/Data-Dump-Streamer-2.40/META.yml 2016-08-30 10:14:14.000000000
+0200
@@ -24,7 +24,7 @@
Module::Build: '0'
perl: '5.006'
dynamic_config: 1
-generated_by: 'Module::Build version 0.4214, CPAN::Meta::Converter version
2.150005'
+generated_by: 'Module::Build version 0.422, CPAN::Meta::Converter version
2.150005'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -33,10 +33,10 @@
provides:
Data::Dump::Streamer:
file: lib/Data/Dump/Streamer.pm
- version: '2.39'
+ version: '2.40'
Data::Dump::Streamer::Deparser:
file: lib/Data/Dump/Streamer.pm
- version: '2.39'
+ version: '2.40'
recommends:
Algorithm::Diff: '0'
Compress::Zlib: '0'
@@ -64,5 +64,5 @@
resources:
license: http://dev.perl.org/licenses/
repository: https://github.com/demerphq/Data-Dump-Streamer
-version: '2.39'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
+version: '2.40'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/README
new/Data-Dump-Streamer-2.40/README
--- old/Data-Dump-Streamer-2.39/README 2015-12-24 06:51:10.000000000 +0100
+++ new/Data-Dump-Streamer-2.40/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,40 +0,0 @@
-INSTALLATION
- To install this module type the following:
-
- perl Build.PL
- ./Build
- ./Build test
- ./Build install
-
- The modules requires a functional C compiler, however PPM support
- for Win32 users will also be available sometime soon.
-
- It is known to work correctly on Perl 5.6 and later on both Win32
- and *nix operating systems. Not all 5.8.x features are available
- in 5.8.0
-
-DEPENDENCIES
- This module requires these other modules and libraries:
-
- Module::Build
- ExtUtils::Depends
- B::Utils
-
- and optionally for enhanced testing
-
- Algortihm::Diff and later versions of Data::Dumper
-
- All other dependencies are part of the standard distribution as
- of Perl 5.6.
-
-AUTHOR AND COPYRIGHT
- Yves Orton, (demerphq)
-
- Copyright (C) 2003 Yves Orton 2003-2005
-
- This library is free software; you can redistribute it and/or
- modify it under the same terms as Perl itself.
-
- Contains code derived from works by Gisle Aas, Graham Barr,
- Jeff Pinyan, Richard Clamp, and Gurusamy Sarathy as well as
- material taken from the core.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/README.md
new/Data-Dump-Streamer-2.40/README.md
--- old/Data-Dump-Streamer-2.39/README.md 1970-01-01 01:00:00.000000000
+0100
+++ new/Data-Dump-Streamer-2.40/README.md 2016-08-30 10:14:14.000000000
+0200
@@ -0,0 +1,42 @@
+## INSTALLATION
+ To install this module type the following:
+
+```
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install
+```
+
+ The modules requires a functional C compiler, however PPM support
+ for Win32 users will also be available sometime soon.
+
+ It is known to work correctly on Perl 5.6 and later on both Win32
+ and *nix operating systems. Not all 5.8.x features are available
+ in 5.8.0
+
+## DEPENDENCIES
+ This module requires these other modules and libraries:
+
+ * Module::Build
+ * ExtUtils::Depends
+ * B::Utils
+
+ and optionally for enhanced testing
+
+ Algortihm::Diff and later versions of Data::Dumper
+
+ All other dependencies are part of the standard distribution as
+ of Perl 5.6.
+
+## AUTHOR AND COPYRIGHT
+ Yves Orton, (demerphq)
+
+ Copyright (C) 2003 Yves Orton 2003-2005
+
+ This library is free software; you can redistribute it and/or
+ modify it under the same terms as Perl itself.
+
+ Contains code derived from works by Gisle Aas, Graham Barr,
+ Jeff Pinyan, Richard Clamp, and Gurusamy Sarathy as well as
+ material taken from the core.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/lib/Data/Dump/Streamer.pm
new/Data-Dump-Streamer-2.40/lib/Data/Dump/Streamer.pm
--- old/Data-Dump-Streamer-2.39/lib/Data/Dump/Streamer.pm 2015-12-24
06:51:10.000000000 +0100
+++ new/Data-Dump-Streamer-2.40/lib/Data/Dump/Streamer.pm 2016-08-30
10:14:14.000000000 +0200
@@ -35,7 +35,7 @@
BEGIN{ $HasPadWalker=eval "use PadWalker 0.99; 1"; }
BEGIN {
- $VERSION ='2.39';
+ $VERSION ='2.40';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION; # used for beta stuff.
@ISA = qw(Exporter DynaLoader);
@@ -1187,7 +1187,7 @@
have a poke around the calling lexical scope to see what is declared. If
a name for a var can't be found then it will be named according to the
normal scheme. When PadWalker isn't installed this is just a wrapper for
-L<Dump()|Dump>.
+L<Dump()|/Dump>.
Thanks to Ovid for the idea of this. See L<Data::Dumper::Simple> for a
similar wrapper around L<Data::Dumper>.
@@ -1243,11 +1243,11 @@
=item DumpVars PAIRS
-This is wrapper around L<Dump()|Dump> which expect to receive
+This is wrapper around L<Dump()|/Dump> which expect to receive
a list of name=>value pairs instead of a list of values.
-Otherwise behaves like L<Dump()|Dump>. Note that names starting
+Otherwise behaves like L<Dump()|/Dump>. Note that names starting
with a '-' are treated the same as those starting with '*' when
-passed to L<Names()|Names>.
+passed to L<Names()|/Names>.
=cut
@@ -2765,6 +2765,9 @@
#$self->{fh}->print("\n#",join " ",keys %$used,"\n");
#$code=~s/^\s*(\([^)]+\)|)\s*/sub$1\n/;
+
+ $code=~s/(\%\{)(\s*\{\}\s*)/$1;$2/g;
+
$code="sub".($code=~/^\s*\(/ ? "" : " ").$code;
if ($self->{style}{indent}) {
$code=~s/\n/"\n"." " x $indent/meg;
@@ -3709,13 +3712,12 @@
my $svo=B::svref_2object($cv);
my @pl_array = eval { $svo->PADLIST->ARRAY };
-
my @name_obj = eval { $pl_array[0]->ARRAY };
my %named;
for my $i ( 0..$#name_obj ) {
if ( ref($name_obj[$i])!~/SPECIAL/) {
- $named{$i} = "${ $name_obj[$i]->object_2svref }";
+ $named{$i} = $name_obj[$i]->PV;
}
}
@@ -3748,7 +3750,7 @@
our @ISA=qw(B::Deparse);
my %cache;
-our $VERSION = '2.39';
+our $VERSION = '2.40';
$VERSION= eval $VERSION;
if ( $VERSION ne $Data::Dump::Streamer::VERSION ) {
die "Incompatible Data::Dump::Streamer::Deparser v$VERSION vs
Data::Dump::Streamer v$Data::Dump::Streamer::VERSION";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Data-Dump-Streamer-2.39/t/madness_json.t
new/Data-Dump-Streamer-2.40/t/madness_json.t
--- old/Data-Dump-Streamer-2.39/t/madness_json.t 2015-12-24
06:51:10.000000000 +0100
+++ new/Data-Dump-Streamer-2.40/t/madness_json.t 2016-08-30
10:14:14.000000000 +0200
@@ -230,7 +230,7 @@
else {
$expected_dot = 'undef';
}
- my $jstrue= JSON::XS::decode_json("true");
+ my $jstrue= JSON::XS::decode_json("[true]")->[0];
my %hash = (
UND => undef,
IV => 1,
@@ -392,7 +392,7 @@
}
# In JSON::XS < 3, the boolean class is JSON::XS::Boolean
# In JSON::XS >= 3, the boolean class is JSON::PP::Boolean
- my $json_boolean_class = ref JSON::XS::decode_json("true");
+ my $json_boolean_class = ref JSON::XS::decode_json("[true]")->[0];
$expect =~ s{JSON::XS::Boolean}{$json_boolean_class}g;
same( $dump= $o->Data(\%hash)->Out, template( $expect, expected_dot =>
$expected_dot ), "", $o);
}
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#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