Hello community, here is the log from the commit of package perl-Devel-CheckOS for openSUSE:Factory checked in at 2017-05-27 13:19:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Devel-CheckOS (Old) and /work/SRC/openSUSE:Factory/.perl-Devel-CheckOS.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-CheckOS" Sat May 27 13:19:11 2017 rev:6 rq:498323 version:1.80 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Devel-CheckOS/perl-Devel-CheckOS.changes 2016-11-10 13:27:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Devel-CheckOS.new/perl-Devel-CheckOS.changes 2017-05-27 13:20:01.173470613 +0200 @@ -1,0 +2,11 @@ +Thu May 25 07:53:37 UTC 2017 - co...@suse.com + +- updated to 1.80 + see /usr/share/doc/packages/perl-Devel-CheckOS/CHANGELOG + + 1.80 2017-05-24 Fix bug where tests would fail if + AUTOMATED_TESTING=1 on perl 5.26 and higher; + For some reason that made it break on 5.8.9, + but I don't really care + +------------------------------------------------------------------- Old: ---- Devel-CheckOS-1.79.tar.gz New: ---- Devel-CheckOS-1.80.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Devel-CheckOS.spec ++++++ --- /var/tmp/diff_new_pack.OCrS91/_old 2017-05-27 13:20:04.317026201 +0200 +++ /var/tmp/diff_new_pack.OCrS91/_new 2017-05-27 13:20:04.321025635 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Devel-CheckOS # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,7 +17,7 @@ Name: perl-Devel-CheckOS -Version: 1.79 +Version: 1.80 Release: 0 #Upstream: This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively. %define cpan_name Devel-CheckOS @@ -25,7 +25,7 @@ License: GPL-2.0 or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Devel-CheckOS/ -Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -71,6 +71,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc ARTISTIC.txt CHANGELOG GPL2.txt README TODO +%doc CHANGELOG GPL2.txt README TODO +%license ARTISTIC.txt %changelog ++++++ Devel-CheckOS-1.79.tar.gz -> Devel-CheckOS-1.80.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/CHANGELOG new/Devel-CheckOS-1.80/CHANGELOG --- old/Devel-CheckOS-1.79/CHANGELOG 2016-10-30 18:21:36.000000000 +0100 +++ new/Devel-CheckOS-1.80/CHANGELOG 2017-05-25 00:30:17.000000000 +0200 @@ -1,3 +1,8 @@ +1.80 2017-05-24 Fix bug where tests would fail if + AUTOMATED_TESTING=1 on perl 5.26 and higher; + For some reason that made it break on 5.8.9, + but I don't really care + 1.79 2016-10-30 Fix another minor bug (https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues/17) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/META.json new/Devel-CheckOS-1.80/META.json --- old/Devel-CheckOS-1.79/META.json 2016-10-30 18:27:45.000000000 +0100 +++ new/Devel-CheckOS-1.80/META.json 2017-05-25 00:33:55.000000000 +0200 @@ -4,7 +4,7 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter version 2.150005", + "generated_by" : "ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter version 2.150005", "license" : [ "unknown" ], @@ -49,6 +49,6 @@ "url" : "https://github.com/DrHyde/perl-modules-Devel-CheckOS" } }, - "version" : "1.79", - "x_serialization_backend" : "JSON::PP version 2.27300" + "version" : "1.80", + "x_serialization_backend" : "JSON::PP version 2.27300_01" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/META.yml new/Devel-CheckOS-1.80/META.yml --- old/Devel-CheckOS-1.79/META.yml 2016-10-30 18:27:45.000000000 +0100 +++ new/Devel-CheckOS-1.80/META.yml 2017-05-25 00:33:55.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.1001, CPAN::Meta::Converter version 2.150005' +generated_by: 'ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter version 2.150005' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,5 +26,5 @@ resources: bugtracker: https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues repository: https://github.com/DrHyde/perl-modules-Devel-CheckOS -version: '1.79' +version: '1.80' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/Makefile.PL new/Devel-CheckOS-1.80/Makefile.PL --- old/Devel-CheckOS-1.79/Makefile.PL 2015-03-09 00:38:04.000000000 +0100 +++ new/Devel-CheckOS-1.80/Makefile.PL 2017-05-25 00:14:59.000000000 +0200 @@ -1,4 +1,4 @@ -require 5.005; +require 5.010; use ExtUtils::MakeMaker; use File::Spec; @@ -27,7 +27,8 @@ if(@notOSes) { # user told us we got it wrong push @extrafiles, File::Spec->catfile('t', "XX-autodetected-$^O-as-".join('--', map { s/::/-/g; $_ } @notOSes).".t"); - open(FAIL, '>'.$extrafiles[-1]); + open(FAIL, '>'.$extrafiles[-1]) || + die("Coulsn't write ".$extrafiles[-1].": $!\n"); print FAIL 'print "1..1\\n";print "not ok 1\\n"'; close(FAIL); } elsif(!@OSes && $ENV{AUTOMATED_TESTING}) { # didn't detect anything! @@ -87,7 +88,7 @@ my $modname = join('::', File::Spec->splitdir($dir), $_); (my $classname = $modname) =~ s/^lib:://; (my $prompt_modname = $modname) =~ s/.*AssertOS:://; - eval "use $modname"; + eval "use $classname"; next if($@); my $hasexpn = $classname->can('expn') ? '/?' : ''; ASK: my $answer = prompt( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/bin/use-devel-assertos new/Devel-CheckOS-1.80/bin/use-devel-assertos --- old/Devel-CheckOS-1.79/bin/use-devel-assertos 2011-07-23 15:50:11.000000000 +0200 +++ new/Devel-CheckOS-1.80/bin/use-devel-assertos 2016-11-16 15:29:24.000000000 +0100 @@ -94,7 +94,7 @@ my $contents = ''; if(open(FILE, $file)) { $contents = <FILE>; close(FILE); } open(FILE, ">$file") || die("Can't write $file\n"); - print FILE 'use lib inc; use Devel::AssertOS qw('. + print FILE 'use lib qw(inc); use Devel::AssertOS qw('. join(' ', @oses). ");\n\n"; print FILE $contents; @@ -145,7 +145,7 @@ Makefile.PL. I welcome feedback about my code, including constructive criticism. -Bug reports should be made using L<http://rt.cpan.org/> or by email. +Bug reports should be made using L<https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues>. =head1 SEE ALSO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/lib/Devel/AssertOS/Extending.pod new/Devel-CheckOS-1.80/lib/Devel/AssertOS/Extending.pod --- old/Devel-CheckOS-1.79/lib/Devel/AssertOS/Extending.pod 2015-03-09 00:17:16.000000000 +0100 +++ new/Devel-CheckOS-1.80/lib/Devel/AssertOS/Extending.pod 2016-11-16 15:29:38.000000000 +0100 @@ -89,7 +89,7 @@ =head1 BUGS and FEEDBACK I welcome feedback about my code, including constructive criticism. -Bug reports should be made using L<http://rt.cpan.org/> or by email. +Bug reports should be made using L<https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues>. If you are feeling particularly generous you can encourage me in my open source endeavours by buying me something from my wishlist: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/lib/Devel/AssertOS.pm new/Devel-CheckOS-1.80/lib/Devel/AssertOS.pm --- old/Devel-CheckOS-1.79/lib/Devel/AssertOS.pm 2015-03-09 00:17:16.000000000 +0100 +++ new/Devel-CheckOS-1.80/lib/Devel/AssertOS.pm 2016-11-16 15:29:51.000000000 +0100 @@ -54,7 +54,7 @@ =head1 BUGS and FEEDBACK I welcome feedback about my code, including constructive criticism. -Bug reports should be made using L<http://rt.cpan.org/> or by email. +Bug reports should be made using L<https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues>. You will need to include in your bug report the exact value of $^O, what the OS is called (eg Windows Vista 64 bit Ultimate Home Edition), and, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/lib/Devel/CheckOS.pm new/Devel-CheckOS-1.80/lib/Devel/CheckOS.pm --- old/Devel-CheckOS-1.79/lib/Devel/CheckOS.pm 2016-10-30 18:21:11.000000000 +0100 +++ new/Devel-CheckOS-1.80/lib/Devel/CheckOS.pm 2017-05-25 00:19:17.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw(@ISA @EXPORT_OK %EXPORT_TAGS); -our $VERSION = '1.79'; +our $VERSION = '1.80'; @ISA = qw(Exporter); @EXPORT_OK = qw(os_is os_isnt die_if_os_is die_if_os_isnt die_unsupported list_platforms list_family_members); @@ -33,6 +33,13 @@ It spares perl the embarrassment of wearing its pants on its head by covering them with a splendid Fedora. +=head1 INCOMPATIBILITY WARNING + +Version 1.80 and higher only work on perl 5.10 and higher. I have no +idea why it's broken on 5.8.9 (the lowest version I was previously +testing on). If you care about perls that ancient I welcome a patch +to restore functionality. + =head1 SYNOPSIS use Devel::CheckOS qw(os_is); @@ -263,7 +270,7 @@ =head1 BUGS and FEEDBACK I welcome feedback about my code, including constructive criticism. -Bug reports should be made using L<http://rt.cpan.org/> or by email. +Bug reports should be made using L<https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues>. You will need to include in your bug report the exact value of $^O, what the OS is called (eg Windows Vista 64 bit Ultimate Home Edition), and, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.79/t/50-script.t new/Devel-CheckOS-1.80/t/50-script.t --- old/Devel-CheckOS-1.79/t/50-script.t 2015-03-09 00:37:00.000000000 +0100 +++ new/Devel-CheckOS-1.80/t/50-script.t 2016-11-17 23:42:37.000000000 +0100 @@ -124,14 +124,14 @@ _run_script($projectdir, qw(Linux MSWin32)); is_deeply( _getfile(File::Spec->catfile($projectdir, 'Makefile.PL')), - 'use lib inc; use Devel::AssertOS qw(Linux MSWin32); + 'use lib qw(inc); use Devel::AssertOS qw(Linux MSWin32); makefile stuff', # mmm, significant whitespace 'if both exist, edit Makefile.PL' ); is_deeply( _getfile(File::Spec->catfile($projectdir, 'Build.PL')), - 'use lib inc; use Devel::AssertOS qw(Linux MSWin32); + 'use lib qw(inc); use Devel::AssertOS qw(Linux MSWin32); build stuff', # mmm, significant whitespace '... and Build.PL' @@ -149,7 +149,7 @@ 'Makefile.PL not created'); is_deeply( _getfile(File::Spec->catfile($projectdir, 'Build.PL')), - 'use lib inc; use Devel::AssertOS qw(Linux MSWin32); + 'use lib qw(inc); use Devel::AssertOS qw(Linux MSWin32); wibblywobblywoo', # mmm, significant whitespace 'if Build.PL exists, edit it' @@ -177,7 +177,7 @@ 'Build.PL not created'); is_deeply( _getfile(File::Spec->catfile($projectdir, 'Makefile.PL')), - 'use lib inc; use Devel::AssertOS qw(Linux MSWin32); + 'use lib qw(inc); use Devel::AssertOS qw(Linux MSWin32); wibblywobblywoo', # mmm, significant whitespace 'if Makefile.PL exists, edit it' @@ -200,7 +200,7 @@ "create Makefile.PL if there's neither Makefile.PL nor Build.PL"); is_deeply( _getfile(File::Spec->catfile($projectdir, 'Makefile.PL')), - 'use lib inc; use Devel::AssertOS qw(Linux MSWin32); + 'use lib qw(inc); use Devel::AssertOS qw(Linux MSWin32); ', # mmm, significant whitespace '... and created it correctly'