Hello community,
here is the log from the commit of package perl-Test-Differences for openSUSE:Factory checked in at 2015-12-03 13:31:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Differences (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Differences.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Differences"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Differences/perl-Test-Differences.changes 2015-02-10 20:23:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Test-Differences.new/perl-Test-Differences.changes 2015-12-03 13:31:03.000000000 +0100
@@ -1,0 +2,11 @@
+Fri Nov 27 10:04:22 UTC 2015 - coolo@suse.com
+
+- updated to 0.64
+ see /usr/share/doc/packages/perl-Test-Differences/Changes
+
+ 0.64 Sun November 22, 2015
+ - Bump dependency version for Text::Diff to avoid a buggy release
+ - Make tests pass with relocation perl (see
+ https://rt.cpan.org/Ticket/Display.html?id=103133)
+
+-------------------------------------------------------------------
Old:
----
Test-Differences-0.63.tar.gz
New:
----
Test-Differences-0.64.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Differences.spec ++++++
--- /var/tmp/diff_new_pack.IFbMoB/_old 2015-12-03 13:31:04.000000000 +0100
+++ /var/tmp/diff_new_pack.IFbMoB/_new 2015-12-03 13:31:04.000000000 +0100
@@ -17,14 +17,15 @@
Name: perl-Test-Differences
-Version: 0.63
+Version: 0.64
Release: 0
%define cpan_name Test-Differences
Summary: Test strings and data structures and show differences if not ok
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Differences/
-Source: http://www.cpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -32,9 +33,11 @@
BuildRequires: perl(Capture::Tiny) >= 0.24
BuildRequires: perl(Data::Dumper) >= 2.126
BuildRequires: perl(Module::Build)
+BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Text::Diff) >= 0.35
Requires: perl(Capture::Tiny) >= 0.24
Requires: perl(Data::Dumper) >= 2.126
+Requires: perl(Test::More) >= 0.88
Requires: perl(Text::Diff) >= 0.35
%{perl_requires}
@@ -45,6 +48,42 @@
script that checks two text documents and then two (trivial) data
structures:
+ t/99example....1..3
+ not ok 1 - differences in text
+ # Failed test ((eval 2) at line 14)
+ # +---+----------------+----------------+
+ # | Ln|Got |Expected |
+ # +---+----------------+----------------+
+ # | 1|this is line 1 |this is line 1 |
+ # * 2|this is line 2 |this is line b *
+ # | 3|this is line 3 |this is line 3 |
+ # +---+----------------+----------------+
+ not ok 2 - differences in whitespace
+ # Failed test ((eval 2) at line 20)
+ # +---+------------------+------------------+
+ # | Ln|Got |Expected |
+ # +---+------------------+------------------+
+ # | 1| indented | indented |
+ # * 2| indented |\tindented *
+ # | 3| indented | indented |
+ # +---+------------------+------------------+
+ not ok 3
+ # Failed test ((eval 2) at line 22)
+ # +----+-------------------------------------+----------------------------+
+ # | Elt|Got |Expected |
+ # +----+-------------------------------------+----------------------------+
+ # * 0|bless( [ |[ *
+ # * 1| 'Move along, nothing to see here' | 'Dry, humorless message' *
+ # * 2|], 'Test::Builder' ) |] *
+ # +----+-------------------------------------+----------------------------+
+ # Looks like you failed 3 tests of 3.
+
+eq_or_diff_...() compares two strings or (limited) data structures and
+either emits an ok indication or a side-by-side diff. Test::Differences is
+designed to be used with Test.pm and with Test::Simple, Test::More, and
+other Test::Builder based testing modules. As the SYNOPSIS shows, another
+testing module must be used as the basis for your test suite.
+
%prep
%setup -q -n %{cpan_name}-%{version}
++++++ Test-Differences-0.63.tar.gz -> Test-Differences-0.64.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Differences-0.63/Build.PL new/Test-Differences-0.64/Build.PL
--- old/Test-Differences-0.63/Build.PL 2014-06-19 15:53:12.000000000 +0200
+++ new/Test-Differences-0.64/Build.PL 2015-03-09 00:39:41.000000000 +0100
@@ -9,7 +9,7 @@
dist_version_from => 'lib/Test/Differences.pm',
perl => 5.006,
requires => {
- 'Test::More' => 0,
+ 'Test::More' => '0.88', # done_testing
'Text::Diff' => 0.35,
'Data::Dumper' => 2.126,
'Capture::Tiny' => 0.24,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Differences-0.63/Changes new/Test-Differences-0.64/Changes
--- old/Test-Differences-0.63/Changes 2014-11-20 22:43:47.000000000 +0100
+++ new/Test-Differences-0.64/Changes 2015-11-22 15:32:59.000000000 +0100
@@ -1,5 +1,10 @@
Changes file for Test::Differences
+0.64 Sun November 22, 2015
+ - Bump dependency version for Text::Diff to avoid a buggy release
+ - Make tests pass with relocation perl (see
+ https://rt.cpan.org/Ticket/Display.html?id=103133)
+
0.63 Thu November 20, 2014
- Minor doco-fixes
- Remove use of flatten, always use Data::Dumper for saner, more readable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Differences-0.63/MANIFEST new/Test-Differences-0.64/MANIFEST
--- old/Test-Differences-0.63/MANIFEST 2014-11-20 22:48:37.000000000 +0100
+++ new/Test-Differences-0.64/MANIFEST 2015-11-22 15:33:41.000000000 +0100
@@ -16,8 +16,9 @@
t/pod-coverage.t
t/pod.t
t/regression.t
-META.yml Module meta-data (added by MakeMaker)
t/column-headers.t
t/script/custom-headers
t/script/default-headers
+MANIFEST.SKIP
+META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Differences-0.63/MANIFEST.SKIP new/Test-Differences-0.64/MANIFEST.SKIP
--- old/Test-Differences-0.63/MANIFEST.SKIP 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Differences-0.64/MANIFEST.SKIP 2014-11-21 22:01:56.000000000 +0100
@@ -0,0 +1,2 @@
+.travis.yml
+^\.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Differences-0.63/META.json new/Test-Differences-0.64/META.json
--- old/Test-Differences-0.63/META.json 2014-11-20 22:48:37.000000000 +0100
+++ new/Test-Differences-0.64/META.json 2015-11-22 15:33:41.000000000 +0100
@@ -4,7 +4,7 @@
"David Cantrell