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 - [email protected]
+
+- 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 <[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" : [
"unknown"
],
@@ -34,12 +34,19 @@
"requires" : {
"Capture::Tiny" : "0.24",
"Data::Dumper" : "2.126",
- "Test::More" : "0",
- "Text::Diff" : "0.35"
+ "Test::More" : "0.88",
+ "Text::Diff" : "1.43"
}
}
},
"release_status" : "stable",
- "resources" : {},
- "version" : "0.63"
+ "resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/Ovid/Test-Differences/issues"
+ },
+ "repository" : {
+ "url" : "https://github.com/Ovid/Test-Differences"
+ }
+ },
+ "version" : "0.64"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Differences-0.63/META.yml
new/Test-Differences-0.64/META.yml
--- old/Test-Differences-0.63/META.yml 2014-11-20 22:48:37.000000000 +0100
+++ new/Test-Differences-0.64/META.yml 2015-11-22 15:33:41.000000000 +0100
@@ -3,24 +3,26 @@
author:
- 'David Cantrell <[email protected]>'
build_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: '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: unknown
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-Differences
no_index:
directory:
- t
- inc
requires:
- Capture::Tiny: 0.24
- Data::Dumper: 2.126
- Test::More: 0
- Text::Diff: 0.35
-resources: {}
-version: 0.63
+ Capture::Tiny: '0.24'
+ Data::Dumper: '2.126'
+ Test::More: '0.88'
+ Text::Diff: '1.43'
+resources:
+ bugtracker: https://github.com/Ovid/Test-Differences/issues
+ repository: https://github.com/Ovid/Test-Differences
+version: '0.64'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Differences-0.63/Makefile.PL
new/Test-Differences-0.64/Makefile.PL
--- old/Test-Differences-0.63/Makefile.PL 2014-11-20 22:42:29.000000000
+0100
+++ new/Test-Differences-0.64/Makefile.PL 2015-11-19 15:24:54.000000000
+0100
@@ -15,8 +15,8 @@
ABSTRACT_FROM => 'lib/Test/Differences.pm',
PL_FILES => {},
PREREQ_PM => {
- 'Test::More' => 0,
- 'Text::Diff' => 0.35,
+ 'Test::More' => '0.88', # done_testing
+ 'Text::Diff' => 1.43,
'Data::Dumper' => 2.126,
'Capture::Tiny' => 0.24,
},
@@ -24,14 +24,8 @@
clean => { FILES => 'Test-Differences-*' },
META_MERGE => {
resources => {
- repository => {
- type => 'git',
- url => 'https://github.com/Ovid/Test-Differences.git',
- web => 'https://github.com/Ovid/Test-Differences',
- },
- bugtracker => {
- web => 'https://github.com/Ovid/Test-Differences/issues',
- },
+ repository => 'https://github.com/Ovid/Test-Differences',
+ bugtracker => 'https://github.com/Ovid/Test-Differences/issues',
},
},
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Differences-0.63/lib/Test/Differences.pm
new/Test-Differences-0.64/lib/Test/Differences.pm
--- old/Test-Differences-0.63/lib/Test/Differences.pm 2014-11-20
22:43:57.000000000 +0100
+++ new/Test-Differences-0.64/lib/Test/Differences.pm 2015-11-22
15:31:51.000000000 +0100
@@ -322,7 +322,7 @@
=cut
-our $VERSION = "0.63"; # or "0.001_001" for a dev release
+our $VERSION = "0.64"; # or "0.001_001" for a dev release
$VERSION = eval $VERSION;
use Exporter;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Differences-0.63/t/column-headers.t
new/Test-Differences-0.64/t/column-headers.t
--- old/Test-Differences-0.63/t/column-headers.t 2014-11-20
22:42:29.000000000 +0100
+++ new/Test-Differences-0.64/t/column-headers.t 2015-11-22
15:30:16.000000000 +0100
@@ -2,13 +2,12 @@
use warnings;
use Test::More;
-use Config;
use Capture::Tiny qw(capture);
END { done_testing(); }
my($stdout, $stderr) = capture { system (
- $Config{perlpath}, (map { "-I$_" } (@INC)),
+ $^X, (map { "-I$_" } (@INC)),
't/script/default-headers'
) };
@@ -30,7 +29,7 @@
);
($stdout, $stderr) = capture { system (
- $Config{perlpath}, (map { "-I$_" } (@INC)),
+ $^X, (map { "-I$_" } (@INC)),
't/script/custom-headers'
) };
++++++ 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: Perl License
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module