Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Devel-CheckOS for openSUSE:Factory checked in at 2021-06-02 22:11:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Devel-CheckOS (Old) and /work/SRC/openSUSE:Factory/.perl-Devel-CheckOS.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-CheckOS" Wed Jun 2 22:11:48 2021 rev:11 rq:896695 version:1.87 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Devel-CheckOS/perl-Devel-CheckOS.changes 2020-10-16 16:17:02.680741580 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Devel-CheckOS.new.1898/perl-Devel-CheckOS.changes 2021-06-02 22:12:15.268150980 +0200 @@ -1,0 +2,12 @@ +Wed May 26 03:06:29 UTC 2021 - Tina M??ller <[email protected]> + +- updated to 1.87 + see /usr/share/doc/packages/perl-Devel-CheckOS/CHANGELOG + + 1.87 2021-05-25 + - Add support for Devuan Linux + 1.86 2021-05-20 + - Belatedly add doco on Debian family to Families.pod + - Add Mac OS 11 (Big Sur) + +------------------------------------------------------------------- Old: ---- Devel-CheckOS-1.85.tar.gz New: ---- Devel-CheckOS-1.87.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Devel-CheckOS.spec ++++++ --- /var/tmp/diff_new_pack.5CaJRh/_old 2021-06-02 22:12:15.780149713 +0200 +++ /var/tmp/diff_new_pack.5CaJRh/_new 2021-06-02 22:12:15.784149704 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Devel-CheckOS # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +16,17 @@ # +%define cpan_name Devel-CheckOS Name: perl-Devel-CheckOS -Version: 1.85 +Version: 1.87 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} 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(File::Find::Rule) >= 0.28 @@ -52,12 +50,12 @@ covering them with a splendid Fedora. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} 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} +%make_build %check make test @@ -68,8 +66,7 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc CHANGELOG GPL2.txt README TODO -%license ARTISTIC.txt +%doc CHANGELOG README TODO +%license ARTISTIC.txt GPL2.txt %changelog ++++++ Devel-CheckOS-1.85.tar.gz -> Devel-CheckOS-1.87.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.85/CHANGELOG new/Devel-CheckOS-1.87/CHANGELOG --- old/Devel-CheckOS-1.85/CHANGELOG 2020-10-15 14:12:46.000000000 +0200 +++ new/Devel-CheckOS-1.87/CHANGELOG 2021-05-25 21:44:59.000000000 +0200 @@ -1,3 +1,13 @@ +1.87 2021-05-25 + +- Add support for Devuan Linux + +1.86 2021-05-20 + +- Belatedly add doco on Debian family to Families.pod + +- Add Mac OS 11 (Big Sur) + 1.85 2020-10-15 Add Linux::Raspbian and Linux::Ubuntu; Add Linux::RealDebian for *actual* Debian Linux; Add Linux::UnknownDebianLike for anything else that's like Debian; @@ -9,7 +19,7 @@ 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 + 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) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.85/MANIFEST new/Devel-CheckOS-1.87/MANIFEST --- old/Devel-CheckOS-1.85/MANIFEST 2020-10-15 18:34:31.000000000 +0200 +++ new/Devel-CheckOS-1.87/MANIFEST 2021-05-25 21:52:44.000000000 +0200 @@ -116,5 +116,7 @@ t/pod.t t/script.t t/unknown-debian.t +lib/Devel/AssertOS/MacOSX/v11.pm +lib/Devel/AssertOS/Linux/Devuan.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.85/META.json new/Devel-CheckOS-1.87/META.json --- old/Devel-CheckOS-1.85/META.json 2020-10-15 18:34:31.000000000 +0200 +++ new/Devel-CheckOS-1.87/META.json 2021-05-25 21:52:44.000000000 +0200 @@ -4,7 +4,7 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.56, CPAN::Meta::Converter version 2.150010", "license" : [ "unknown", "open_source" @@ -49,6 +49,6 @@ "url" : "https://github.com/DrHyde/perl-modules-Devel-CheckOS" } }, - "version" : "1.85", + "version" : "1.87", "x_serialization_backend" : "JSON::PP version 4.02" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.85/META.yml new/Devel-CheckOS-1.87/META.yml --- old/Devel-CheckOS-1.85/META.yml 2020-10-15 18:34:31.000000000 +0200 +++ new/Devel-CheckOS-1.87/META.yml 2021-05-25 21:52:44.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.56, 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.85' +version: '1.87' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.85/lib/Devel/AssertOS/Linux/Debian.pm new/Devel-CheckOS-1.87/lib/Devel/AssertOS/Linux/Debian.pm --- old/Devel-CheckOS-1.85/lib/Devel/AssertOS/Linux/Debian.pm 2020-10-15 14:29:06.000000000 +0200 +++ new/Devel-CheckOS-1.87/lib/Devel/AssertOS/Linux/Debian.pm 2021-05-25 02:01:07.000000000 +0200 @@ -5,9 +5,9 @@ use warnings; no warnings 'redefine'; -our $VERSION = '1.1'; +our $VERSION = '1.2'; -sub matches { map { "Linux::$_" } qw(Raspbian Ubuntu RealDebian UnknownDebianLike) } +sub matches { map { "Linux::$_" } qw(Raspbian Ubuntu RealDebian UnknownDebianLike Devuan) } sub os_is { Devel::CheckOS::os_is(matches()) } @@ -17,7 +17,7 @@ =head1 COPYRIGHT and LICENCE -Copyright 2007 - 2020 David Cantrell +Copyright 2007 - 2021 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.85/lib/Devel/AssertOS/Linux/Devuan.pm new/Devel-CheckOS-1.87/lib/Devel/AssertOS/Linux/Devuan.pm --- old/Devel-CheckOS-1.85/lib/Devel/AssertOS/Linux/Devuan.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Devel-CheckOS-1.87/lib/Devel/AssertOS/Linux/Devuan.pm 2021-05-25 02:01:07.000000000 +0200 @@ -0,0 +1,28 @@ +package Devel::AssertOS::Linux::Devuan; + +use Devel::CheckOS; +use strict; +use warnings; +no warnings 'redefine'; + +our $VERSION = '1.0'; + +sub os_is { + Devel::CheckOS::os_is('Linux') && + `lsb_release -i 2>/dev/null` =~ /Devuan/ +} + +sub expn { "The operating system is Devuan" } + +Devel::CheckOS::die_unsupported() unless(os_is()); + +=head1 COPYRIGHT and LICENCE + +Copyright 2007 - 2021 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.85/lib/Devel/AssertOS/MacOSX/v11.pm new/Devel-CheckOS-1.87/lib/Devel/AssertOS/MacOSX/v11.pm --- old/Devel-CheckOS-1.85/lib/Devel/AssertOS/MacOSX/v11.pm 1970-01-01 01:00:00.000000000 +0100 +++ new/Devel-CheckOS-1.87/lib/Devel/AssertOS/MacOSX/v11.pm 2021-05-20 23:47:42.000000000 +0200 @@ -0,0 +1,28 @@ +package Devel::AssertOS::MacOSX::v11; + +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` =~ /^11/ ? 1 : 0; +} + +sub expn { "The operating system is some version of Mac OS Big Sur" } + +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.85/lib/Devel/CheckOS/Families.pod new/Devel-CheckOS-1.87/lib/Devel/CheckOS/Families.pod --- old/Devel-CheckOS-1.85/lib/Devel/CheckOS/Families.pod 2020-02-21 11:54:36.000000000 +0100 +++ new/Devel-CheckOS-1.87/lib/Devel/CheckOS/Families.pod 2020-10-15 19:26:31.000000000 +0200 @@ -36,6 +36,22 @@ This includes both ordinary Linux and Android. Plain old Linux will match 'Linux'. Android will match both that and 'Android'. +=head1 THE Linux::Debian FAMILY + +Up until version 1.84 this wasn't a family, and would match any platform +which claimed to be Debian via C<lsb_release -i> or on which a file called +C</etc/debian_version> existed. That meant that as well as matching real +Debian, it would also match Ubuntu, Raspbian, and so on. As of version 1.85 +C<Linux::Debian> has become a family of all the Debian-based Linuxes. If +you want to test which particular family member you're on then look at +C<list_family_members("Linux::Debian")> to see what's available. + +NB the difference between C<Linux::RealDebian> (which uses C<lsb_release> +for identification) and C<Linux::UnknownDebianLike> (which uses the +existence of C</etc/debian_version> for identification). In particular +beware that some *very* old Debians don't have C<lsb_release> available +and so will be detected as C<Linux::UnknownDebianLike>. + =head1 THE MicrosoftWindows FAMILY This includes any version of Windows and also includes things like diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckOS-1.85/lib/Devel/CheckOS.pm new/Devel-CheckOS-1.87/lib/Devel/CheckOS.pm --- old/Devel-CheckOS-1.85/lib/Devel/CheckOS.pm 2020-10-15 18:26:37.000000000 +0200 +++ new/Devel-CheckOS-1.87/lib/Devel/CheckOS.pm 2021-05-25 02:01:07.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw(@ISA @EXPORT_OK %EXPORT_TAGS); -our $VERSION = '1.85'; +our $VERSION = '1.87'; @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.85/t/unknown-debian.t new/Devel-CheckOS-1.87/t/unknown-debian.t --- old/Devel-CheckOS-1.85/t/unknown-debian.t 2020-10-15 14:33:56.000000000 +0200 +++ new/Devel-CheckOS-1.87/t/unknown-debian.t 2021-05-25 02:01:07.000000000 +0200 @@ -2,16 +2,14 @@ use warnings; use Test::More; +plan skip_all => "This isn't Debian-ish" unless os_is('Linux::Debian'); -use Devel::CheckOS qw(os_is); +use Devel::CheckOS qw(os_is list_family_members); -SKIP: { - skip "This isn't Debian-ish", 1 unless os_is('Debian'); - ok( - (os_is(map { "Linux::$_" } qw(Raspbian Ubuntu RealDebian)) ? 1 : 0) + - (os_is('Linux::UnknownDebianLike') ? 1 : 0) == 1, - "OS isn't both UnknownDebianLike and some known Debian variant" - ); -} +ok( + (os_is(grep { $_ ne 'Linux::UnknownDebianLike' } list_family_members('Linux::Debian')) ? 1 : 0) + + (os_is('Linux::UnknownDebianLike') ? 1 : 0) == 1, + "OS isn't both UnknownDebianLike and some known Debian variant" +); done_testing();
