commit perl-Canary-Stability for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Canary-Stability for openSUSE:Factory checked in at 2019-04-28 20:14:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Canary-Stability (Old) and /work/SRC/openSUSE:Factory/.perl-Canary-Stability.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Canary-Stability" Sun Apr 28 20:14:45 2019 rev:3 rq:698639 version:2013 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Canary-Stability/perl-Canary-Stability.changes 2016-10-02 00:08:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Canary-Stability.new.5536/perl-Canary-Stability.changes 2019-04-28 20:14:46.974368905 +0200 @@ -1,0 +2,13 @@ +Tue Apr 23 05:04:16 UTC 2019 - Stephan Kulow <coolo@suse.com> + +- updated to 2013 + see /usr/share/doc/packages/perl-Canary-Stability/Changes + + 2013 Mon Apr 22 12:38:45 CEST 2019 + - carbon-dioxide levels hit 400ppm first time in recorded history. + - during AUTOMATED_TESTING, turn minimum version recommendations into + hard requirements to avoid false positives in unsupported perl + versions. + - added dummy testsuite. + +------------------------------------------------------------------- Old: ---- Canary-Stability-2012.tar.gz New: ---- Canary-Stability-2013.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Canary-Stability.spec ++++++ --- /var/tmp/diff_new_pack.6AG8BR/_old 2019-04-28 20:14:47.758368418 +0200 +++ /var/tmp/diff_new_pack.6AG8BR/_new 2019-04-28 20:14:47.770368410 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Canary-Stability # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Canary-Stability -Version: 2012 +Version: 2013 Release: 0 -#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name Canary-Stability -Summary: Canary to Check Perl Compatibility for Schmorp's Modules -License: Artistic-1.0 or GPL-1.0+ +Summary: Canary to check perl compatibility for schmorp's modules +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Canary-Stability/ -Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,11 +45,11 @@ %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -59,6 +58,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes COPYING README +%doc Changes README +%license COPYING %changelog ++++++ Canary-Stability-2012.tar.gz -> Canary-Stability-2013.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Canary-Stability-2012/Changes new/Canary-Stability-2013/Changes --- old/Canary-Stability-2012/Changes 2016-09-25 01:49:33.000000000 +0200 +++ new/Canary-Stability-2013/Changes 2019-04-22 12:39:46.000000000 +0200 @@ -1,5 +1,12 @@ Revision history for Perl extension Canary::Stability +2013 Mon Apr 22 12:38:45 CEST 2019 + - carbon-dioxide levels hit 400ppm first time in recorded history. + - during AUTOMATED_TESTING, turn minimum version recommendations into + hard requirements to avoid false positives in unsupported perl + versions. + - added dummy testsuite. + 2012 Sun Sep 25 01:45:56 CEST 2016 - another year where the UNFCCC had to adjust their predictions in the worse direction. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Canary-Stability-2012/MANIFEST new/Canary-Stability-2013/MANIFEST --- old/Canary-Stability-2012/MANIFEST 2016-09-25 01:49:56.000000000 +0200 +++ new/Canary-Stability-2013/MANIFEST 2019-04-22 12:39:51.000000000 +0200 @@ -4,5 +4,6 @@ COPYING Makefile.PL Stability.pm +t/00_load.t 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/Canary-Stability-2012/META.json new/Canary-Stability-2013/META.json --- old/Canary-Stability-2012/META.json 2016-09-25 01:49:56.000000000 +0200 +++ new/Canary-Stability-2013/META.json 2019-04-22 12:39:51.000000000 +0200 @@ -4,7 +4,7 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", "license" : [ "unknown" ], @@ -29,11 +29,9 @@ "requires" : { "ExtUtils::MakeMaker" : "0" } - }, - "runtime" : { - "requires" : {} } }, "release_status" : "stable", - "version" : "2012" + "version" : "2013", + "x_serialization_backend" : "JSON::PP version 2.27300" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Canary-Stability-2012/META.yml new/Canary-Stability-2013/META.yml --- old/Canary-Stability-2012/META.yml 2016-09-25 01:49:56.000000000 +0200 +++ new/Canary-Stability-2013/META.yml 2019-04-22 12:39:51.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001' +generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -17,5 +17,5 @@ directory: - t - inc -requires: {} -version: '2012' +version: '2013' +x_serialization_backend: 'CPAN::Meta::YAML version 0.012' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Canary-Stability-2012/README new/Canary-Stability-2013/README --- old/Canary-Stability-2012/README 2016-09-25 01:49:56.000000000 +0200 +++ new/Canary-Stability-2013/README 2019-04-22 12:39:51.000000000 +0200 @@ -29,6 +29,15 @@ "PERL_CANARY_STABILITY_DISABLE=1" Disable this modules functionality completely. + "AUTOMATED_TESTING=1" + When this variable is set to a true value and the perl minimum + version requirement is not met, the module will exit, which should + skip testing under automated testing environments. + + This is done to avoid false failure or success reports when the + chances of success are already quite low and the failures are not + supported by the author. + AUTHOR Marc Lehmann <schmorp@schmorp.de> http://software.schmorp.de/pkg/Canary-Stability.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Canary-Stability-2012/Stability.pm new/Canary-Stability-2013/Stability.pm --- old/Canary-Stability-2012/Stability.pm 2016-09-25 01:49:49.000000000 +0200 +++ new/Canary-Stability-2013/Stability.pm 2019-04-22 12:32:48.000000000 +0200 @@ -23,7 +23,7 @@ package Canary::Stability; BEGIN { - $VERSION = 2012; + $VERSION = 2013; } sub sgr { @@ -85,6 +85,7 @@ *** status testing, you might also not want to care at all, and all will *** be well as long $distname works well enough for you, as the stability *** canary is only used when installing the distribution. +*** EOF } elsif ($] < $minperl) { @@ -96,7 +97,19 @@ *** likes ($minperl). This is not a fatal problem - the module might work *** well with your version of perl, but it does mean the author likely *** won't do anything to make it work if it breaks. +*** +EOF + + if ($ENV{AUTOMATED_TESTING}) { + print <<EOF; +*** Since this is an AUTOMATED_TESTING environment, the stability canary +*** decided to fail cleanly here, rather than to generate a false test +*** result. +*** EOF + exit 0; + } + } elsif (defined $Internals::StabilityBranchVersion) { # note to people studying this modules sources: # the above test is not considered a clean or stable way to @@ -109,6 +122,7 @@ *** It seems you are running schmorp's stability branch of perl. *** All should be well, and if it isn't, you should report this as a bug *** to the $distname author. +*** EOF } elsif ($] < 5.021) { #sgr 32; @@ -117,6 +131,7 @@ *** *** Your version of perl ($]) is quite supported by $distname, nothing *** else to be said, hope it comes in handy. +*** EOF } else { sgr 31; @@ -131,6 +146,7 @@ *** stability branch. *** *** If everything works fine, you can ignore this message. +*** EOF sgr 0; print <<EOF; @@ -194,6 +210,16 @@ Disable this modules functionality completely. +=item C<AUTOMATED_TESTING=1> + +When this variable is set to a true value and the perl minimum version +requirement is not met, the module will exit, which should skip testing +under automated testing environments. + +This is done to avoid false failure or success reports when the chances of +success are already quite low and the failures are not supported by the +author. + =back =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Canary-Stability-2012/t/00_load.t new/Canary-Stability-2013/t/00_load.t --- old/Canary-Stability-2012/t/00_load.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Canary-Stability-2013/t/00_load.t 2019-04-22 12:39:37.000000000 +0200 @@ -0,0 +1,5 @@ +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +use Canary::Stability (); +$loaded = 1; +print "ok 1\n";
participants (1)
-
root