Hello community, here is the log from the commit of package perl-Devel-CheckOS for openSUSE:Factory checked in at 2020-10-06 17:11:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Devel-CheckOS (Old) and /work/SRC/openSUSE:Factory/.perl-Devel-CheckOS.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-CheckOS" Tue Oct 6 17:11:06 2020 rev:9 rq:839747 version:1.84 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Devel-CheckOS/perl-Devel-CheckOS.changes 2020-02-18 10:42:28.437197737 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Devel-CheckOS.new.4249/perl-Devel-CheckOS.changes 2020-10-06 17:15:57.649777803 +0200 @@ -1,0 +2,11 @@ +Tue Oct 6 03:08:39 UTC 2020 - Tina Müller <[email protected]> + +- updated to 1.84 + see /usr/share/doc/packages/perl-Devel-CheckOS/CHANGELOG + + 1.84 2020-10-05 Add some more versions of MacOS; + Note change of name Mac OS X -> MacOS, but don't + change the module name for backward compatibility; + Add MSYS (reported by perl in MinGW environments) + +------------------------------------------------------------------- Old: ---- Devel-CheckOS-1.83.tar.gz New: ---- Devel-CheckOS-1.84.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Devel-CheckOS.spec ++++++ --- /var/tmp/diff_new_pack.86pzDu/_old 2020-10-06 17:15:59.253779163 +0200 +++ /var/tmp/diff_new_pack.86pzDu/_new 2020-10-06 17:15:59.253779163 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Devel-CheckOS # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: perl-Devel-CheckOS -Version: 1.83 +Version: 1.84 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 Summary: Check what OS we're running on License: GPL-2.0-only OR Artistic-1.0 Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch ++++++ Devel-CheckOS-1.83.tar.gz -> Devel-CheckOS-1.84.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/CHANGELOG new/Devel-CheckOS-1.84/CHANGELOG --- old/Devel-CheckOS-1.83/CHANGELOG 2020-02-15 23:06:28.000000000 +0100 +++ new/Devel-CheckOS-1.84/CHANGELOG 2020-10-05 13:37:05.000000000 +0200 @@ -1,3 +1,8 @@ +1.84 2020-10-05 Add some more versions of MacOS; + Note change of name Mac OS X -> MacOS, but don't + change the module name for backward compatibility; + Add MSYS (reported by perl in MinGW environments) + 1.83 2020-02-15 Remove dependency on Data::Compare, which in turn depends on non-pure-perl XS in CLone.pm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/MANIFEST new/Devel-CheckOS-1.84/MANIFEST --- old/Devel-CheckOS-1.83/MANIFEST 2020-02-15 23:07:07.000000000 +0100 +++ new/Devel-CheckOS-1.84/MANIFEST 2020-10-05 13:44:11.000000000 +0200 @@ -107,5 +107,9 @@ lib/Devel/AssertOS/Hurd.pm lib/Devel/AssertOS/MacOSX/v10_11.pm lib/Devel/AssertOS/MacOSX/v10_12.pm +lib/Devel/AssertOS/MacOSX/v10_13.pm +lib/Devel/AssertOS/MacOSX/v10_14.pm +lib/Devel/AssertOS/MacOSX/v10_15.pm +lib/Devel/AssertOS/MSYS.pm 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/Devel-CheckOS-1.83/MANIFEST.SKIP new/Devel-CheckOS-1.84/MANIFEST.SKIP --- old/Devel-CheckOS-1.83/MANIFEST.SKIP 2014-11-21 22:01:11.000000000 +0100 +++ new/Devel-CheckOS-1.84/MANIFEST.SKIP 2020-02-21 13:48:38.000000000 +0100 @@ -1,2 +1,5 @@ .travis.yml ^\.git +.appveyor.yml +.cirrus.yml +makefile-expect-driver.pl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/META.json new/Devel-CheckOS-1.84/META.json --- old/Devel-CheckOS-1.83/META.json 2020-02-15 23:07:06.000000000 +0100 +++ new/Devel-CheckOS-1.84/META.json 2020-10-05 13:44:11.000000000 +0200 @@ -4,14 +4,14 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", "license" : [ "unknown", "open_source" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Devel-CheckOS", "no_index" : { @@ -49,6 +49,6 @@ "url" : "https://github.com/DrHyde/perl-modules-Devel-CheckOS" } }, - "version" : "1.83", - "x_serialization_backend" : "JSON::PP version 2.27400_02" + "version" : "1.84", + "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/META.yml new/Devel-CheckOS-1.84/META.yml --- old/Devel-CheckOS-1.83/META.yml 2020-02-15 23:07:06.000000000 +0100 +++ new/Devel-CheckOS-1.84/META.yml 2020-10-05 13:44:11.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010' +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 @@ -25,5 +25,5 @@ resources: bugtracker: https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues repository: https://github.com/DrHyde/perl-modules-Devel-CheckOS -version: '1.83' +version: '1.84' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/Makefile.PL new/Devel-CheckOS-1.84/Makefile.PL --- old/Devel-CheckOS-1.83/Makefile.PL 2020-02-15 22:53:30.000000000 +0100 +++ new/Devel-CheckOS-1.84/Makefile.PL 2020-02-21 22:09:27.000000000 +0100 @@ -26,21 +26,28 @@ close(T); 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]) || - 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! + foreach my $os (@notOSes) { + (my $filename_os = $os) =~ s/::/-/g; + push @extrafiles, File::Spec->catfile('t', "XX-autodetected-$^O-as-$filename_os.t"); + open(FAIL, '>'.$extrafiles[-1]) || + die("Couldn't write ".$extrafiles[-1].": $!\n"); + print FAIL 'print "1..1\\nnot ok 1\\n"'; + close(FAIL); + } + } + if(!@notOSes && !@OSes) { # didn't detect anything! push @extrafiles, File::Spec->catfile('t', "XX-autodetected-$^O-as-nothing.t"); - open(FAIL, '>'.$extrafiles[-1]); - print FAIL 'print "1..1\\n";print "not ok 1\\n"'; + open(FAIL, '>'.$extrafiles[-1]) || + die("Couldn't write ".$extrafiles[-1].": $!\n"); + print FAIL 'print "1..1\\nnot ok 1\\n"'; close(FAIL); - } elsif(@OSes) { + } + if(@OSes) { foreach my $os (@OSes) { (my $filename_os = $os) =~ s/::/-/g; push @extrafiles, File::Spec->catfile('t', "XX-autodetected-$^O-as-$filename_os.t"); - open(PASS, '>'.$extrafiles[-1]); + open(PASS, '>'.$extrafiles[-1]) || + die("Couldn't write ".$extrafiles[-1].": $!\n"); print PASS qq{ use Devel::AssertOS::$os; print "1..1\\n";print "ok 1\\n"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MSYS.pm new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MSYS.pm --- old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MSYS.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MSYS.pm 2020-10-05 13:36:57.000000000 +0200 @@ -0,0 +1,29 @@ +package Devel::AssertOS::MSYS; + +use Devel::CheckOS; +use strict; +use warnings; +no warnings 'redefine'; + +our $VERSION = '1.0'; + +sub os_is { $^O =~ /^msys2?$/i ? 1 : 0; } + +sub expn { +join("\n", +"The operating system is Microsoft Windows, but this perl", +"is part of MSYS (or MSYS2), part of MinGW" +) +} + +Devel::CheckOS::die_unsupported() unless(os_is()); + +=head1 COPYRIGHT and LICENCE + +Copyright 2007 - 2020 David Cantrell + +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. + +=cut + +1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MacOSX/v10_13.pm new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MacOSX/v10_13.pm --- old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MacOSX/v10_13.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MacOSX/v10_13.pm 2020-02-21 12:10:50.000000000 +0100 @@ -0,0 +1,28 @@ +package Devel::AssertOS::MacOSX::v10_13; + +use Devel::CheckOS; +use strict; +use warnings; +no warnings 'redefine'; + +our $VERSION = '1.0'; + +sub os_is { + Devel::CheckOS::os_is('MacOSX') && + `sw_vers -productVersion` =~ /^10\.13\./ ? 1 : 0; +} + +sub expn { "The operating system is some version of OS X High Sierra (10.13)" } + +Devel::CheckOS::die_unsupported() unless(os_is()); + +=head1 COPYRIGHT and LICENCE + +Copyright 2020 David Cantrell + +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. + +=cut + +1; + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MacOSX/v10_14.pm new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MacOSX/v10_14.pm --- old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MacOSX/v10_14.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MacOSX/v10_14.pm 2020-02-21 12:10:53.000000000 +0100 @@ -0,0 +1,28 @@ +package Devel::AssertOS::MacOSX::v10_14; + +use Devel::CheckOS; +use strict; +use warnings; +no warnings 'redefine'; + +our $VERSION = '1.0'; + +sub os_is { + Devel::CheckOS::os_is('MacOSX') && + `sw_vers -productVersion` =~ /^10\.14\./ ? 1 : 0; +} + +sub expn { "The operating system is some version of OS X Mojave (10.14)" } + +Devel::CheckOS::die_unsupported() unless(os_is()); + +=head1 COPYRIGHT and LICENCE + +Copyright 2020 David Cantrell + +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. + +=cut + +1; + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MacOSX/v10_15.pm new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MacOSX/v10_15.pm --- old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MacOSX/v10_15.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MacOSX/v10_15.pm 2020-02-21 12:10:56.000000000 +0100 @@ -0,0 +1,28 @@ +package Devel::AssertOS::MacOSX::v10_15; + +use Devel::CheckOS; +use strict; +use warnings; +no warnings 'redefine'; + +our $VERSION = '1.0'; + +sub os_is { + Devel::CheckOS::os_is('MacOSX') && + `sw_vers -productVersion` =~ /^10\.15\./ ? 1 : 0; +} + +sub expn { "The operating system is some version of OS X Catalina (10.15)" } + +Devel::CheckOS::die_unsupported() unless(os_is()); + +=head1 COPYRIGHT and LICENCE + +Copyright 2020 David Cantrell + +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. + +=cut + +1; + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MacOSX.pm new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MacOSX.pm --- old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MacOSX.pm 2015-03-09 00:17:16.000000000 +0100 +++ new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MacOSX.pm 2020-02-21 12:11:23.000000000 +0100 @@ -5,12 +5,14 @@ use warnings; no warnings 'redefine'; -our $VERSION = '1.2'; +our $VERSION = '1.3'; sub os_is { $^O =~ /^darwin$/i ? 1 : 0; } Devel::CheckOS::die_unsupported() unless(os_is()); +sub expn { "Either Mac OS X, or OS X, or MacOS, they're all the same thing really" } + =head1 COPYRIGHT and LICENCE Copyright 2007 - 2014 David Cantrell diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MicrosoftWindows.pm new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MicrosoftWindows.pm --- old/Devel-CheckOS-1.83/lib/Devel/AssertOS/MicrosoftWindows.pm 2015-03-09 00:17:16.000000000 +0100 +++ new/Devel-CheckOS-1.84/lib/Devel/AssertOS/MicrosoftWindows.pm 2020-10-05 13:26:16.000000000 +0200 @@ -7,9 +7,9 @@ use warnings; no warnings 'redefine'; -our $VERSION = '1.3'; +our $VERSION = '1.4'; -sub matches { return qw(Cygwin MSWin32); } +sub matches { return qw(Cygwin MSWin32 MSYS); } sub os_is { Devel::CheckOS::os_is(matches()); } Devel::CheckOS::die_unsupported() unless(os_is()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/lib/Devel/CheckOS.pm new/Devel-CheckOS-1.84/lib/Devel/CheckOS.pm --- old/Devel-CheckOS-1.83/lib/Devel/CheckOS.pm 2020-02-15 23:05:53.000000000 +0100 +++ new/Devel-CheckOS-1.84/lib/Devel/CheckOS.pm 2020-10-05 13:37:05.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw(@ISA @EXPORT_OK %EXPORT_TAGS); -our $VERSION = '1.83'; +our $VERSION = '1.84'; @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); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/t/15-list_family_members.t new/Devel-CheckOS-1.84/t/15-list_family_members.t --- old/Devel-CheckOS-1.83/t/15-list_family_members.t 2016-10-30 18:24:34.000000000 +0100 +++ new/Devel-CheckOS-1.84/t/15-list_family_members.t 2020-10-05 13:27:10.000000000 +0200 @@ -32,6 +32,6 @@ ); is_deeply( scalar(Devel::CheckOS::list_family_members('MicrosoftWindows')), - [qw(Cygwin MSWin32)], + [qw(Cygwin MSWin32 MSYS)], 'scalar list_family_members works for MicrosoftWindows family' ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/t/16-expn.t new/Devel-CheckOS-1.84/t/16-expn.t --- old/Devel-CheckOS-1.83/t/16-expn.t 2016-10-30 18:20:17.000000000 +0100 +++ new/Devel-CheckOS-1.84/t/16-expn.t 2020-10-05 13:27:42.000000000 +0200 @@ -13,7 +13,7 @@ "$platform family has an expn()"); } elsif(grep { $_ eq $platform } qw( Cygwin Linux::v2_6 MachTen MacOSX::v10_4 MSWin32 OS390 - OSF QNX::Neutrino QNX::v4 RISCOS MacOSX::v10_5 + OSF QNX::Neutrino QNX::v4 RISCOS MacOSX::v10_5 MSYS )) { ok(eval "Devel::AssertOS::$platform->can('expn') && Devel::AssertOS::${platform}::expn()", "non-obvious platform '$platform' has an expn()"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/t/50-script.t new/Devel-CheckOS-1.84/t/50-script.t --- old/Devel-CheckOS-1.83/t/50-script.t 2018-01-23 23:52:52.000000000 +0100 +++ new/Devel-CheckOS-1.84/t/50-script.t 2020-10-05 13:29:11.000000000 +0200 @@ -99,6 +99,9 @@ $projectdir, qw(inc Devel AssertOS MicrosoftWindows.pm)), "inc/Devel/AssertOS/MicrosoftWindows.pm exists"); ok(-e File::Spec->catfile( + $projectdir, qw(inc Devel AssertOS MSYS.pm)), + "inc/Devel/AssertOS/MSYS.pm exists"); + ok(-e File::Spec->catfile( $projectdir, qw(inc Devel AssertOS.pm)), "inc/Devel/AssertOS.pm exists"); ok(-e File::Spec->catfile( @@ -110,6 +113,7 @@ inc/Devel/AssertOS/Linux/v2_6.pm inc/Devel/AssertOS/Linux.pm inc/Devel/AssertOS/MSWin32.pm inc/Devel/AssertOS/Cygwin.pm inc/Devel/AssertOS/MicrosoftWindows.pm + inc/Devel/AssertOS/MSYS.pm inc/Devel/CheckOS.pm inc/Devel/AssertOS.pm MANIFEST Makefile.PL )], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/t/60-mockery.t new/Devel-CheckOS-1.84/t/60-mockery.t --- old/Devel-CheckOS-1.83/t/60-mockery.t 2016-10-21 23:48:00.000000000 +0200 +++ new/Devel-CheckOS-1.84/t/60-mockery.t 2020-10-05 13:30:22.000000000 +0200 @@ -34,6 +34,8 @@ midnightbsd => 'MidnightBSD', mirbsd => 'MirOSBSD', mpeix => 'MPEiX', + msys => 'MSYS', + msys2 => 'MSYS', dos => 'MSDOS', minix => 'Minix', MSWin32 => 'MSWin32', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.83/t/61-failing-mockery.t new/Devel-CheckOS-1.84/t/61-failing-mockery.t --- old/Devel-CheckOS-1.83/t/61-failing-mockery.t 2016-10-30 18:24:43.000000000 +0100 +++ new/Devel-CheckOS-1.84/t/61-failing-mockery.t 2020-10-05 13:31:35.000000000 +0200 @@ -31,6 +31,8 @@ midnightbsd => 'MidnightBSD', mirbsd => 'MirOSBSD', mpeix => 'MPEiX', + msys => 'MSYS', + msys2 => 'MSYS', dos => 'MSDOS', MSWin32 => 'MSWin32', netbsd => 'NetBSD',
