Hello community, here is the log from the commit of package perl-Devel-CheckOS for openSUSE:Factory checked in at 2020-02-18 10:42:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Devel-CheckOS (Old) and /work/SRC/openSUSE:Factory/.perl-Devel-CheckOS.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-CheckOS" Tue Feb 18 10:42:01 2020 rev:8 rq:774953 version:1.83 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Devel-CheckOS/perl-Devel-CheckOS.changes 2018-02-07 18:43:23.766612581 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Devel-CheckOS.new.26092/perl-Devel-CheckOS.changes 2020-02-18 10:42:28.437197737 +0100 @@ -1,0 +2,12 @@ +Sun Feb 16 03:09:04 UTC 2020 - <[email protected]> + +- updated to 1.83 + see /usr/share/doc/packages/perl-Devel-CheckOS/CHANGELOG + + 1.83 2020-02-15 Remove dependency on Data::Compare, which in turn + depends on non-pure-perl XS in CLone.pm + + 1.82 2020-02-15 Fix build bug affecting perl 5.8 when AUTOMATED_TESTING + is set (https://github.com/DrHyde/perl-modules-Devel-CheckOS/pull/23) + +------------------------------------------------------------------- Old: ---- Devel-CheckOS-1.81.tar.gz New: ---- Devel-CheckOS-1.83.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Devel-CheckOS.spec ++++++ --- /var/tmp/diff_new_pack.4mlaF0/_old 2020-02-18 10:42:28.981198847 +0100 +++ /var/tmp/diff_new_pack.4mlaF0/_new 2020-02-18 10:42:28.985198855 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Devel-CheckOS # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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,30 +12,28 @@ # 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-Devel-CheckOS -Version: 1.81 +Version: 1.83 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 or Artistic-1.0 +Summary: Check what OS we're running on +License: GPL-2.0-only OR Artistic-1.0 Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Devel-CheckOS/ +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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Data::Compare) >= 1.21 BuildRequires: perl(File::Find::Rule) >= 0.28 BuildRequires: perl(File::Temp) >= 0.19 BuildRequires: perl(Test::More) >= 0.88 -Requires: perl(Data::Compare) >= 1.21 Requires: perl(File::Find::Rule) >= 0.28 Requires: perl(File::Temp) >= 0.19 Requires: perl(Test::More) >= 0.88 @@ -55,14 +53,14 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %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 ++++++ Devel-CheckOS-1.81.tar.gz -> Devel-CheckOS-1.83.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/CHANGELOG new/Devel-CheckOS-1.83/CHANGELOG --- old/Devel-CheckOS-1.81/CHANGELOG 2018-01-23 23:55:36.000000000 +0100 +++ new/Devel-CheckOS-1.83/CHANGELOG 2020-02-15 23:06:28.000000000 +0100 @@ -1,3 +1,9 @@ +1.83 2020-02-15 Remove dependency on Data::Compare, which in turn + depends on non-pure-perl XS in CLone.pm + +1.82 2020-02-15 Fix build bug affecting perl 5.8 when AUTOMATED_TESTING + is set (https://github.com/DrHyde/perl-modules-Devel-CheckOS/pull/23) + 1.81 2018-01-23 Restore 5.6 and 5.8 compatibility; Cope better in tests when @INC is humungous diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/MANIFEST new/Devel-CheckOS-1.83/MANIFEST --- old/Devel-CheckOS-1.81/MANIFEST 2018-01-24 00:07:01.000000000 +0100 +++ new/Devel-CheckOS-1.83/MANIFEST 2020-02-15 23:07:07.000000000 +0100 @@ -5,7 +5,6 @@ lib/Devel/AssertOS/Haiku.pm lib/Devel/AssertOS/BSDOS.pm lib/Devel/AssertOS/Cygwin.pm -lib/Devel/AssertOS/Darwin.pm~ lib/Devel/AssertOS/DEC.pm lib/Devel/AssertOS/DGUX.pm lib/Devel/AssertOS/DragonflyBSD.pm @@ -103,7 +102,6 @@ lib/Devel/AssertOS/Android.pm MANIFEST.SKIP lib/Devel/AssertOS/Linux/Debian.pm -t/63-kwalitee.t lib/Devel/AssertOS/Minix.pm lib/Devel/AssertOS/iOS.pm lib/Devel/AssertOS/Hurd.pm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/META.json new/Devel-CheckOS-1.83/META.json --- old/Devel-CheckOS-1.81/META.json 2018-01-24 00:07:00.000000000 +0100 +++ new/Devel-CheckOS-1.83/META.json 2020-02-15 23:07:06.000000000 +0100 @@ -4,7 +4,7 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150001", + "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010", "license" : [ "unknown", "open_source" @@ -33,7 +33,6 @@ }, "runtime" : { "requires" : { - "Data::Compare" : "1.21", "File::Find::Rule" : "0.28", "File::Temp" : "0.19", "Test::More" : "0.88", @@ -50,5 +49,6 @@ "url" : "https://github.com/DrHyde/perl-modules-Devel-CheckOS" } }, - "version" : "1.81" + "version" : "1.83", + "x_serialization_backend" : "JSON::PP version 2.27400_02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/META.yml new/Devel-CheckOS-1.83/META.yml --- old/Devel-CheckOS-1.81/META.yml 2018-01-24 00:07:00.000000000 +0100 +++ new/Devel-CheckOS-1.83/META.yml 2020-02-15 23:07:06.000000000 +0100 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150001' +generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -18,7 +18,6 @@ - t - inc requires: - Data::Compare: '1.21' File::Find::Rule: '0.28' File::Temp: '0.19' Test::More: '0.88' @@ -26,4 +25,5 @@ resources: bugtracker: https://github.com/DrHyde/perl-modules-Devel-CheckOS/issues repository: https://github.com/DrHyde/perl-modules-Devel-CheckOS -version: '1.81' +version: '1.83' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/Makefile.PL new/Devel-CheckOS-1.83/Makefile.PL --- old/Devel-CheckOS-1.81/Makefile.PL 2018-01-23 23:49:49.000000000 +0100 +++ new/Devel-CheckOS-1.83/Makefile.PL 2020-02-15 22:53:30.000000000 +0100 @@ -66,7 +66,6 @@ 'Test::More' => '0.88', # done_testing 'File::Find::Rule' => 0.28, 'File::Temp' => 0.19, - 'Data::Compare' => 1.21, # 'Exporter' => 0 # core }, EXE_FILES => [qw( @@ -88,8 +87,9 @@ my $modname = join('::', File::Spec->splitdir($dir), $_); (my $classname = $modname) =~ s/^lib:://; (my $prompt_modname = $modname) =~ s/.*AssertOS:://; - eval "use $classname"; - next if($@); + if (!eval "use $classname; ${classname}::os_is()") { + next; + } my $hasexpn = $classname->can('expn') ? '/?' : ''; ASK: my $answer = prompt( "Are you using $prompt_modname? [Y/n$hasexpn]", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/bin/use-devel-assertos new/Devel-CheckOS-1.83/bin/use-devel-assertos --- old/Devel-CheckOS-1.81/bin/use-devel-assertos 2016-11-16 15:29:24.000000000 +0100 +++ new/Devel-CheckOS-1.83/bin/use-devel-assertos 2020-02-15 22:57:57.000000000 +0100 @@ -6,7 +6,6 @@ $/ = undef; use File::Spec; -use Data::Compare; my @files = grep { -f $_ } qw(Makefile.PL Build.PL); @@ -42,9 +41,12 @@ # NB can't just use scalar list_platforms cos that won't tell us that, # eg, Linux::v2_6 also uses Linux foreach my $os (@oses) { - my $oldinc = { map { $_ => $INC{$_} } keys %INC }; # clone + my %oldinc = %INC; eval "use Devel::AssertOS qw($os)"; - if(Compare(\%INC, $oldinc)) { + if( + join(':', map { $_ => $oldinc{$_} } sort keys %oldinc) eq + join(':', map { $_ => $INC{$_} } sort keys %INC) + ) { print STDERR "Couldn't find a module for $os\n"; exit(1); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/lib/Devel/AssertOS/Darwin.pm~ new/Devel-CheckOS-1.83/lib/Devel/AssertOS/Darwin.pm~ --- old/Devel-CheckOS-1.81/lib/Devel/AssertOS/Darwin.pm~ 2011-07-23 15:50:11.000000000 +0200 +++ new/Devel-CheckOS-1.83/lib/Devel/AssertOS/Darwin.pm~ 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ -# $Id: Darwin.pm~,v 1.1 2007/10/02 09:48:54 drhyde Exp $ - -package Devel::AssertOS::Darwin; - -use Devel::CheckOS qw(die_unsupported); - -$VERSION = '1.0'; - -sub os_is { $^O eq 'darwin' ? 1 : 0; } - -die_unsupported() unless(os_is()); - -1; \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/lib/Devel/CheckOS.pm new/Devel-CheckOS-1.83/lib/Devel/CheckOS.pm --- old/Devel-CheckOS-1.81/lib/Devel/CheckOS.pm 2018-01-23 23:50:46.000000000 +0100 +++ new/Devel-CheckOS-1.83/lib/Devel/CheckOS.pm 2020-02-15 23:05:53.000000000 +0100 @@ -6,7 +6,7 @@ use vars qw(@ISA @EXPORT_OK %EXPORT_TAGS); -our $VERSION = '1.81'; +our $VERSION = '1.83'; @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); @@ -317,13 +317,15 @@ Thanks to Dale Evans for Debian detection, a bunch of Mac OS X specific version detection modules, and perl 5.6 support. +Thanks to Graham Knop for fixing a build bug on perl 5.8. + =head1 SOURCE CODE REPOSITORY L<git://github.com/DrHyde/perl-modules-Devel-CheckOS.git> =head1 COPYRIGHT and LICENCE -Copyright 2007-2012 David Cantrell +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. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.81/t/63-kwalitee.t new/Devel-CheckOS-1.83/t/63-kwalitee.t --- old/Devel-CheckOS-1.81/t/63-kwalitee.t 2015-03-09 00:17:16.000000000 +0100 +++ new/Devel-CheckOS-1.83/t/63-kwalitee.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ -use Test::More; - -use strict; -use warnings; -BEGIN { - plan skip_all => 'these tests are for release candidate testing' - unless $ENV{RELEASE_TESTING}; -} - -# no license is by design -use Test::Kwalitee::Extra qw(:optional !meta_yml_has_license); - -done_testing;
