commit perl-Test-Simple for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package perl-Test-Simple for openSUSE:Factory checked in at 2015-04-16 14:13:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-Simple (Old) and /work/SRC/openSUSE:Factory/.perl-Test-Simple.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Test-Simple" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-Simple/perl-Test-Simple.changes 2015-01-23 15:48:20.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Test-Simple.new/perl-Test-Simple.changes 2015-04-16 14:13:49.000000000 +0200 @@ -1,0 +2,13 @@ +Tue Apr 14 19:24:23 UTC 2015 - coolo@suse.com + +- updated to 1.001014 + see /usr/share/doc/packages/perl-Test-Simple/Changes + + 1.001014 Tue Dec 28 08:31:00:00 PST 2015 + * Write a test to ensure this changes file gets updated + * Update changes file for 1.001013 + + 1.001013 Sun Dec 28 08:00:00:00 PST 2015 + * Fix a unit test that broke on some platforms with spaces in the $^X path + +------------------------------------------------------------------- Old: ---- Test-Simple-1.001012.tar.gz New: ---- Test-Simple-1.001014.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-Simple.spec ++++++ --- /var/tmp/diff_new_pack.qQspyC/_old 2015-04-16 14:13:49.000000000 +0200 +++ /var/tmp/diff_new_pack.qQspyC/_new 2015-04-16 14:13:49.000000000 +0200 @@ -17,54 +17,34 @@ Name: perl-Test-Simple -Version: 1.001012 +Version: 1.001014 Release: 0 %define cpan_name Test-Simple Summary: Basic utilities for writing tests License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Simple/ -Source: %{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -# MANUAL +%{perl_requires} +# MANUAL BEGIN Obsoletes: perl-Test-Tester <= 0.109 Obsoletes: perl-Test-use-ok <= 0.11 -%{perl_requires} +# MANUAL END %description +** If you are unfamiliar with testing *read the Test::Tutorial manpage +first!* ** + This is an extremely simple, extremely basic module for writing tests suitable for CPAN modules and other pursuits. If you wish to do more complicated testing, use the Test::More module (a drop-in replacement for this one). -The basic unit of Perl testing is the ok. For each thing you want to test -your program will print out an "ok" or "not ok" to indicate pass or fail. -You do this with the ok() function (see below). - -The only other constraint is you must pre-declare how many tests you plan -to run. This is in case something goes horribly wrong during the test and -your test program aborts, or skips a test or whatever. - -Test::Simple will start by printing number of tests run in the form "1..M" -(so "1..5" means you're going to run 5 tests). This strange format lets -Test::Harness know how many tests you plan on running in case something -goes horribly wrong. - -If all your tests passed, Test::Simple will exit with zero (which is -normal). If anything failed it will exit with how many failed. If you run -less (or more) tests than you planned, the missing (or extras) will be -considered failures. If no tests were ever run Test::Simple will throw a -warning and exit with 255. If the test died, even after having successfully -completed all its tests, it will still be considered a failure and will -exit with 255. - -This module is by no means trying to be a complete testing system. It's -just to get you started. Once you're off the ground its recommended you -look at the Test::More manpage. - %prep %setup -q -n %{cpan_name}-%{version} ++++++ Test-Simple-1.001012.tar.gz -> Test-Simple-1.001014.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/Changes new/Test-Simple-1.001014/Changes --- old/Test-Simple-1.001012/Changes 2014-12-23 16:39:59.000000000 +0100 +++ new/Test-Simple-1.001014/Changes 2014-12-28 17:32:04.000000000 +0100 @@ -1,3 +1,10 @@ +1.001014 Tue Dec 28 08:31:00:00 PST 2015 + * Write a test to ensure this changes file gets updated + * Update changes file for 1.001013 + +1.001013 Sun Dec 28 08:00:00:00 PST 2015 + * Fix a unit test that broke on some platforms with spaces in the $^X path + 1.001012 Tue Dec 23 07:39:00:00 PST 2015 * Move test that was dropped in the wrong directory diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/MANIFEST new/Test-Simple-1.001014/MANIFEST --- old/Test-Simple-1.001012/MANIFEST 2014-12-23 16:40:19.000000000 +0100 +++ new/Test-Simple-1.001014/MANIFEST 2014-12-28 17:35:49.000000000 +0100 @@ -166,6 +166,7 @@ t/utf8.t t/versions.t t/xt/dependents.t +t/xxx-changes_updated.t TODO xt/downstream.t xt/downstream_dists.list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/META.json new/Test-Simple-1.001014/META.json --- old/Test-Simple-1.001012/META.json 2014-12-23 16:40:19.000000000 +0100 +++ new/Test-Simple-1.001014/META.json 2014-12-28 17:35:49.000000000 +0100 @@ -52,5 +52,5 @@ }, "x_MailingList" : "http://lists.perl.org/list/perl-qa.html" }, - "version" : "1.001012" + "version" : "1.001014" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/META.yml new/Test-Simple-1.001014/META.yml --- old/Test-Simple-1.001012/META.yml 2014-12-23 16:40:19.000000000 +0100 +++ new/Test-Simple-1.001014/META.yml 2014-12-28 17:35:49.000000000 +0100 @@ -27,4 +27,4 @@ homepage: http://github.com/Test-More/test-more/ license: http://dev.perl.org/licenses/ repository: http://github.com/Test-More/test-more/ -version: '1.001012' +version: '1.001014' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/Builder/IO/Scalar.pm new/Test-Simple-1.001014/lib/Test/Builder/IO/Scalar.pm --- old/Test-Simple-1.001012/lib/Test/Builder/IO/Scalar.pm 2014-12-23 16:36:52.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/Builder/IO/Scalar.pm 2014-12-28 17:28:21.000000000 +0100 @@ -38,7 +38,7 @@ use 5.005; ### The package version, both in 1.23 style *and* usable by MakeMaker: -$VERSION = "2.111"; +$VERSION = "2.113"; ### Inheritance: @ISA = qw(IO::Handle); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/Builder/Module.pm new/Test-Simple-1.001014/lib/Test/Builder/Module.pm --- old/Test-Simple-1.001012/lib/Test/Builder/Module.pm 2014-12-23 16:36:52.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/Builder/Module.pm 2014-12-28 17:28:02.000000000 +0100 @@ -7,7 +7,7 @@ require Exporter; our @ISA = qw(Exporter); -our $VERSION = '1.001012'; +our $VERSION = '1.001014'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/Builder/Tester/Color.pm new/Test-Simple-1.001014/lib/Test/Builder/Tester/Color.pm --- old/Test-Simple-1.001012/lib/Test/Builder/Tester/Color.pm 2014-12-23 16:37:53.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/Builder/Tester/Color.pm 2014-12-28 17:30:01.000000000 +0100 @@ -1,7 +1,7 @@ package Test::Builder::Tester::Color; use strict; -our $VERSION = "1.28"; +our $VERSION = "1.290001"; require Test::Builder::Tester; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/Builder/Tester.pm new/Test-Simple-1.001014/lib/Test/Builder/Tester.pm --- old/Test-Simple-1.001012/lib/Test/Builder/Tester.pm 2014-12-23 16:37:40.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/Builder/Tester.pm 2014-12-28 17:28:11.000000000 +0100 @@ -1,7 +1,7 @@ package Test::Builder::Tester; use strict; -our $VERSION = "1.26"; +our $VERSION = "1.28"; use Test::Builder 0.99; use Symbol; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/Builder.pm new/Test-Simple-1.001014/lib/Test/Builder.pm --- old/Test-Simple-1.001012/lib/Test/Builder.pm 2014-12-23 16:36:52.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/Builder.pm 2014-12-28 17:27:50.000000000 +0100 @@ -4,7 +4,7 @@ use strict; use warnings; -our $VERSION = '1.001012'; +our $VERSION = '1.001014'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/More.pm new/Test-Simple-1.001014/lib/Test/More.pm --- old/Test-Simple-1.001012/lib/Test/More.pm 2014-12-23 16:36:52.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/More.pm 2014-12-28 17:32:09.000000000 +0100 @@ -17,7 +17,7 @@ return warn @_, " at $file line $line\n"; } -our $VERSION = '1.001012'; +our $VERSION = '1.001014'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) use Test::Builder::Module 0.99; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/Simple.pm new/Test-Simple-1.001014/lib/Test/Simple.pm --- old/Test-Simple-1.001012/lib/Test/Simple.pm 2014-12-23 16:36:52.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/Simple.pm 2014-12-28 17:27:32.000000000 +0100 @@ -4,7 +4,7 @@ use strict; -our $VERSION = '1.001012'; +our $VERSION = '1.001014'; $VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) use Test::Builder::Module 0.99; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/Tester.pm new/Test-Simple-1.001014/lib/Test/Tester.pm --- old/Test-Simple-1.001012/lib/Test/Tester.pm 2014-12-23 16:37:21.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/Tester.pm 2014-12-28 17:27:44.000000000 +0100 @@ -18,7 +18,7 @@ use vars qw( @ISA @EXPORT $VERSION ); -$VERSION = "0.112"; +$VERSION = "0.114"; @EXPORT = qw( run_tests check_tests check_test cmp_results show_space ); @ISA = qw( Exporter ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/Test/use/ok.pm new/Test-Simple-1.001014/lib/Test/use/ok.pm --- old/Test-Simple-1.001012/lib/Test/use/ok.pm 2014-12-23 16:37:14.000000000 +0100 +++ new/Test-Simple-1.001014/lib/Test/use/ok.pm 2014-12-28 17:27:38.000000000 +0100 @@ -1,6 +1,6 @@ package Test::use::ok; use 5.005; -$Test::use::ok::VERSION = '0.14'; +$Test::use::ok::VERSION = '0.16'; __END__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/lib/ok.pm new/Test-Simple-1.001014/lib/ok.pm --- old/Test-Simple-1.001012/lib/ok.pm 2014-12-23 16:37:47.000000000 +0100 +++ new/Test-Simple-1.001014/lib/ok.pm 2014-12-28 17:28:58.000000000 +0100 @@ -1,5 +1,5 @@ package ok; -$ok::VERSION = '0.14'; +$ok::VERSION = '0.16'; use strict; use Test::More (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/t/exit.t new/Test-Simple-1.001014/t/exit.t --- old/Test-Simple-1.001012/t/exit.t 2014-12-23 16:35:44.000000000 +0100 +++ new/Test-Simple-1.001014/t/exit.t 2014-12-28 17:21:09.000000000 +0100 @@ -30,9 +30,10 @@ # Quiet noisy 'SYS$ABORT' $Perl .= q{ -"I../lib"} if $ENV{PERL_CORE}; $Perl .= q{ -"Mvmsish=hushed"}; +} else { + $Perl = qq("$Perl"); # protect from shell if spaces } - eval { require POSIX; &POSIX::WEXITSTATUS(0) }; if( $@ ) { *exitstatus = sub { $_[0] >> 8 }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Simple-1.001012/t/xxx-changes_updated.t new/Test-Simple-1.001014/t/xxx-changes_updated.t --- old/Test-Simple-1.001012/t/xxx-changes_updated.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-Simple-1.001014/t/xxx-changes_updated.t 2014-12-28 17:34:45.000000000 +0100 @@ -0,0 +1,20 @@ +use strict; +use warnings; +use Test::More; +use List::Util qw/first/; + +plan skip_all => "Only tested when releasing" unless $ENV{AUTHOR_TESTING}; + +my $ver = $Test::More::VERSION; + +my $changes = first { -f $_ } './Changes', '../Changes'; + +plan 'skip_all' => 'Could not find changes file' + unless $changes; + +open(my $fh, '<', $changes) || die "Could not load changes file!"; +chomp(my $line = <$fh>); +like($line, qr/^\Q$ver\E/, "Changes file is up to date"); +close($fh); + +done_testing; ++++++ cpanspec.yml ++++++ --- description_paragraphs: 2 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: preamble: |- Obsoletes: perl-Test-Tester <= 0.109 Obsoletes: perl-Test-use-ok <= 0.11 #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
participants (1)
-
root@hilbert.suse.de