Hello community, here is the log from the commit of package perl-Graph for openSUSE:Factory checked in at 2015-10-19 22:49:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Graph (Old) and /work/SRC/openSUSE:Factory/.perl-Graph.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Graph" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Graph/perl-Graph.changes 2015-10-03 20:30:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Graph.new/perl-Graph.changes 2015-10-19 22:49:44.000000000 +0200 @@ -1,0 +2,12 @@ +Sat Oct 10 08:58:47 UTC 2015 - [email protected] + +- updated to 0.9704 + see /usr/share/doc/packages/perl-Graph/Changes + + 0.9704 2015-10-07 Jarkko Hietaniemi <[email protected]> + - rt.cpan.org 107567: edges() missing on undirected multiedged graph: + was broken in 0.96, had been fixed somewhere there and here, + added the test case + - rt.cpan.org 107600: no modify Storable $VERSION + +------------------------------------------------------------------- Old: ---- Graph-0.9703.tar.gz New: ---- Graph-0.9704.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Graph.spec ++++++ --- /var/tmp/diff_new_pack.Y923iH/_old 2015-10-19 22:49:45.000000000 +0200 +++ /var/tmp/diff_new_pack.Y923iH/_new 2015-10-19 22:49:45.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Graph -Version: 0.9703 +Version: 0.9704 Release: 0 %define cpan_name Graph Summary: Graph Data Structures and Algorithms ++++++ Graph-0.9703.tar.gz -> Graph-0.9704.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graph-0.9703/Changes new/Graph-0.9704/Changes --- old/Graph-0.9703/Changes 2015-09-29 12:43:44.000000000 +0200 +++ new/Graph-0.9704/Changes 2015-10-07 14:26:03.000000000 +0200 @@ -1,5 +1,11 @@ Revision history for Perl module Graph +0.9704 2015-10-07 Jarkko Hietaniemi <[email protected]> + - rt.cpan.org 107567: edges() missing on undirected multiedged graph: + was broken in 0.96, had been fixed somewhere there and here, + added the test case + - rt.cpan.org 107600: no modify Storable $VERSION + 0.9703 2015-09-29 Jarkko Hietaniemi <[email protected]> - document (at user level) the openbsd random problem - using the 5.22+ Inf was done the wrong way: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graph-0.9703/META.json new/Graph-0.9704/META.json --- old/Graph-0.9703/META.json 2015-09-29 12:43:46.000000000 +0200 +++ new/Graph-0.9704/META.json 2015-10-07 14:30:23.000000000 +0200 @@ -27,5 +27,5 @@ "web" : "https://github.com/neilbowers/Graph" } }, - "version" : "0.9703" + "version" : "0.9704" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graph-0.9703/META.yml new/Graph-0.9704/META.yml --- old/Graph-0.9703/META.yml 2015-09-29 12:43:46.000000000 +0200 +++ new/Graph-0.9704/META.yml 2015-10-07 14:30:23.000000000 +0200 @@ -16,4 +16,4 @@ - inc resources: repository: git://github.com/neilbowers/Graph.git -version: '0.9703' +version: '0.9704' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graph-0.9703/lib/Graph.pm new/Graph-0.9704/lib/Graph.pm --- old/Graph-0.9703/lib/Graph.pm 2015-09-29 12:40:54.000000000 +0200 +++ new/Graph-0.9704/lib/Graph.pm 2015-10-07 14:27:00.000000000 +0200 @@ -18,12 +18,18 @@ use vars qw($VERSION); -$VERSION = '0.9703'; +$VERSION = '0.9704'; require 5.006; # Weak references are absolutely required. my $can_deep_copy_Storable = - eval 'require Storable; require B::Deparse; $Storable::VERSION =~ s/_\d+$//;$B::Deparse::VERSION =~ s/_\d+$//; $Storable::VERSION >= 2.05 && $B::Deparse::VERSION >= 0.61' && !$@; + eval { + require Storable; + require B::Deparse; + Storable->VERSION(2.05); + B::Deparse->VERSION(0.61); + 1; + }; sub _can_deep_copy_Storable () { return $can_deep_copy_Storable; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graph-0.9703/t/26_multiedged.t new/Graph-0.9704/t/26_multiedged.t --- old/Graph-0.9703/t/26_multiedged.t 2015-09-22 15:22:54.000000000 +0200 +++ new/Graph-0.9704/t/26_multiedged.t 2015-10-07 14:25:28.000000000 +0200 @@ -1,4 +1,4 @@ -use Test::More tests => 59; +use Test::More tests => 63; use Graph; my $g = Graph->new(multiedged => 1); @@ -132,3 +132,16 @@ my @e = $g4b->edges; is(@e, 3); } + +{ + # rt.cpan.org 107567 edges() missing on undirected multiedged graph + my $graph = Graph->new(undirected => 1, multiedged => 1); + $graph->add_vertex(0); + $graph->add_vertex(1); + $graph->add_edge(1,0); + is($graph, "0=1"); + my @edges = $graph->edges; + is(scalar @edges, 1); + is_deeply(@edges, [1, 0]); + is($graph->edges, 1); +}
