Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Git-Version-Compare for openSUSE:Factory checked in at 2023-01-31 16:10:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Git-Version-Compare (Old) and /work/SRC/openSUSE:Factory/.perl-Git-Version-Compare.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Git-Version-Compare" Tue Jan 31 16:10:28 2023 rev:2 rq:1062268 version:1.005 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Git-Version-Compare/perl-Git-Version-Compare.changes 2019-07-17 14:27:18.811334990 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Git-Version-Compare.new.32243/perl-Git-Version-Compare.changes 2023-01-31 16:16:32.596306099 +0100 @@ -1,0 +2,9 @@ +Sun Jan 15 03:08:25 UTC 2023 - Tina Müller <timueller+p...@suse.de> + +- updated to 1.005 + see /usr/share/doc/packages/perl-Git-Version-Compare/Changes + + 1.005 2023-01-14 BOOK + - Accepts Git non-standard version suffixes (GNUSTAVO) + +------------------------------------------------------------------- Old: ---- Git-Version-Compare-1.004.tar.gz New: ---- Git-Version-Compare-1.005.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Git-Version-Compare.spec ++++++ --- /var/tmp/diff_new_pack.n7W3ke/_old 2023-01-31 16:16:32.976308300 +0100 +++ /var/tmp/diff_new_pack.n7W3ke/_new 2023-01-31 16:16:32.980308324 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Git-Version-Compare # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,21 +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/ # +%define cpan_name Git-Version-Compare Name: perl-Git-Version-Compare -Version: 1.004 +Version: 1.005 Release: 0 -%define cpan_name Git-Version-Compare +License: Artistic-1.0 OR GPL-1.0-or-later Summary: Functions to compare Git versions -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Git-Version-Compare/ -Source0: http://www.cpan.org/authors/id/B/BO/BOOK/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/B/BO/BOOK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::NoWarnings) @@ -43,14 +41,14 @@ accumulated while developing Git::Repository. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -58,7 +56,7 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes README +%license LICENSE %changelog ++++++ Git-Version-Compare-1.004.tar.gz -> Git-Version-Compare-1.005.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/Changes new/Git-Version-Compare-1.005/Changes --- old/Git-Version-Compare-1.004/Changes 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/Changes 2023-01-14 09:58:07.000000000 +0100 @@ -1,5 +1,8 @@ Revision history for Git-Version-Compare +1.005 2023-01-14 BOOK + - Accepts Git non-standard version suffixes (GNUSTAVO) + 1.004 2016-05-24 BOOK - Remove a dependency on namespace::clean - Update the cache using the normalized version string diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/LICENSE new/Git-Version-Compare-1.005/LICENSE --- old/Git-Version-Compare-1.004/LICENSE 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/LICENSE 2023-01-14 09:58:07.000000000 +0100 @@ -1,4 +1,4 @@ -This software is copyright (c) 2016 by Philippe Bruhat (BooK). +This software is copyright (c) 2023 by Philippe Bruhat (BooK). This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2016 by Philippe Bruhat (BooK). +This software is Copyright (c) 2023 by Philippe Bruhat (BooK). This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2016 by Philippe Bruhat (BooK). +This software is Copyright (c) 2023 by Philippe Bruhat (BooK). This is free software, licensed under: @@ -292,21 +292,21 @@ - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through - textual modification. + textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright - Holder. + Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for - the package. + the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the - computing community at large as a market that must bear the fee.) + computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they - received it. + received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you @@ -373,7 +373,7 @@ 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/MANIFEST new/Git-Version-Compare-1.005/MANIFEST --- old/Git-Version-Compare-1.004/MANIFEST 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/MANIFEST 2023-01-14 09:58:07.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.042. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024. Changes LICENSE MANIFEST @@ -10,10 +10,10 @@ lib/Git/Version/Compare.pm t/00-report-prereqs.dd t/00-report-prereqs.t +t/author-distmeta.t t/author-pod-coverage.t t/author-pod-syntax.t t/cmp_git.t t/looks_like_git.t t/normalize.t t/ops.t -t/release-distmeta.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/META.json new/Git-Version-Compare-1.005/META.json --- old/Git-Version-Compare-1.004/META.json 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/META.json 2023-01-14 09:58:07.000000000 +0100 @@ -4,7 +4,7 @@ "Philippe Bruhat (BooK) <b...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.042, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010", "keywords" : [ "git", "version", @@ -15,7 +15,7 @@ ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" + "version" : 2 }, "name" : "Git-Version-Compare", "prereqs" : { @@ -66,10 +66,14 @@ "web" : "http://github.com/book/Git-Version-Compare" } }, - "version" : "1.004", + "version" : "1.005", "x_contributors" : [ "Neil Bowers <ne...@cpan.org>", - "Pine Mizune <p...@cpan.org>" - ] + "Pine Mizune <p...@cpan.org>", + "Gustavo Leite de Mendon\u00e7a Chaves <gnust...@cpan.org>" + ], + "x_generated_by_perl" : "v5.32.1", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.25", + "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/META.yml new/Git-Version-Compare-1.005/META.yml --- old/Git-Version-Compare-1.004/META.yml 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/META.yml 2023-01-14 09:58:07.000000000 +0100 @@ -11,7 +11,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.042, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010' keywords: - git - version @@ -30,7 +30,11 @@ resources: bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Git-Version-Compare repository: http://github.com/book/Git-Version-Compare.git -version: '1.004' +version: '1.005' x_contributors: - 'Neil Bowers <ne...@cpan.org>' - 'Pine Mizune <p...@cpan.org>' + - 'Gustavo Leite de Mendonça Chaves <gnust...@cpan.org>' +x_generated_by_perl: v5.32.1 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/Makefile.PL new/Git-Version-Compare-1.005/Makefile.PL --- old/Git-Version-Compare-1.004/Makefile.PL 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/Makefile.PL 2023-01-14 09:58:07.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.042. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.024. use strict; use warnings; @@ -29,7 +29,7 @@ "Test::More" => 0, "Test::NoWarnings" => 0 }, - "VERSION" => "1.004", + "VERSION" => "1.005", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/dist.ini new/Git-Version-Compare-1.005/dist.ini --- old/Git-Version-Compare-1.004/dist.ini 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/dist.ini 2023-01-14 09:58:07.000000000 +0100 @@ -2,7 +2,7 @@ author = Philippe Bruhat (BooK) <b...@cpan.org> license = Perl_5 copyright_holder = Philippe Bruhat (BooK) -; copyright_year = 2016 +; copyright_year = 2016-2023 [PkgVersion] @@ -23,6 +23,9 @@ [Test::ReportPrereqs] +[Prereqs / TestRequires] +Test::NoWarnings = + [MetaJSON] [MetaResources] repository.web = http://github.com/book/Git-Version-Compare @@ -54,3 +57,4 @@ [Meta::Contributors] contributor = Neil Bowers <ne...@cpan.org> contributor = Pine Mizune <p...@cpan.org> +contributor = Gustavo Leite de Mendonça Chaves <gnust...@cpan.org> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/lib/Git/Version/Compare.pm new/Git-Version-Compare-1.005/lib/Git/Version/Compare.pm --- old/Git-Version-Compare-1.004/lib/Git/Version/Compare.pm 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/lib/Git/Version/Compare.pm 2023-01-14 09:58:07.000000000 +0100 @@ -1,5 +1,5 @@ package Git::Version::Compare; -$Git::Version::Compare::VERSION = '1.004'; +$Git::Version::Compare::VERSION = '1.005'; use strict; use warnings; use Exporter; @@ -62,7 +62,7 @@ return scalar $_[0] =~ /^(?:v|git\ version\ )? # prefix [0-9]+(?:[.-](?:0[ab]?|[1-9][0-9a-z]*|[a-zA-Z]+))* # x.y.z.* - (?:[.-]?rc[0-9]+)? # rc + (?:[.-]?[a-z]+[0-9]+)? # rc or vendor specific suffixes (?:[.-](GIT|[1-9][0-9]*[.-]g[A-Fa-f0-9]+))? # devel (?:\ .*)? # comment $/x; @@ -209,6 +209,10 @@ (and can therefore be parsed by C<Git::Version::Number>) and false otherwise. +It accepts the version strings from all standard Git versions and from some +non-standard Gits as well, such as GitLab's embedded Git which uses a special +suffix like C<.gl1>. + =head1 EXPORT TAGS =head2 :ops @@ -306,7 +310,7 @@ =head1 COPYRIGHT -Copyright 2016 Philippe Bruhat (BooK), all rights reserved. +Copyright 2016-2023 Philippe Bruhat (BooK), all rights reserved. =head1 LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/00-report-prereqs.t new/Git-Version-Compare-1.005/t/00-report-prereqs.t --- old/Git-Version-Compare-1.004/t/00-report-prereqs.t 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/t/00-report-prereqs.t 2023-01-14 09:58:07.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.021 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028 use Test::More tests => 1; @@ -68,7 +68,7 @@ ); # Add static prereqs to the included modules list -my $static_prereqs = do 't/00-report-prereqs.dd'; +my $static_prereqs = do './t/00-report-prereqs.dd'; # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( @@ -78,12 +78,14 @@ # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; -if ( $source && $HAS_CPAN_META ) { - if ( my $meta = eval { CPAN::Meta->load_file($source) } ) { - $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); - } +my $cpan_meta_error; +if ( $source && $HAS_CPAN_META + && (my $meta = eval { CPAN::Meta->load_file($source) } ) +) { + $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { + $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source) $source = 'static metadata'; } @@ -169,15 +171,23 @@ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; } +if ( $cpan_meta_error || @dep_errors ) { + diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n"; +} + +if ( $cpan_meta_error ) { + my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; + diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n"; +} + if ( @dep_errors ) { diag join("\n", - "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", - "The following REQUIRED prerequisites were not satisfied:\n", + "\nThe following REQUIRED prerequisites were not satisfied:\n", @dep_errors, "\n" ); } -pass; +pass('Reported prereqs'); # vim: ts=4 sts=4 sw=4 et: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/author-distmeta.t new/Git-Version-Compare-1.005/t/author-distmeta.t --- old/Git-Version-Compare-1.004/t/author-distmeta.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Git-Version-Compare-1.005/t/author-distmeta.t 2023-01-14 09:58:07.000000000 +0100 @@ -0,0 +1,14 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::MetaTests. + +use Test::CPAN::Meta; + +meta_yaml_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/author-pod-coverage.t new/Git-Version-Compare-1.005/t/author-pod-coverage.t --- old/Git-Version-Compare-1.004/t/author-pod-coverage.t 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/t/author-pod-coverage.t 2023-01-14 09:58:07.000000000 +0100 @@ -2,8 +2,8 @@ BEGIN { unless ($ENV{AUTHOR_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for testing by the author'); + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/author-pod-syntax.t new/Git-Version-Compare-1.005/t/author-pod-syntax.t --- old/Git-Version-Compare-1.004/t/author-pod-syntax.t 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/t/author-pod-syntax.t 2023-01-14 09:58:07.000000000 +0100 @@ -2,8 +2,8 @@ BEGIN { unless ($ENV{AUTHOR_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for testing by the author'); + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/looks_like_git.t new/Git-Version-Compare-1.005/t/looks_like_git.t --- old/Git-Version-Compare-1.004/t/looks_like_git.t 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/t/looks_like_git.t 2023-01-14 09:58:07.000000000 +0100 @@ -33,6 +33,10 @@ '0.99.9h', '1.0.rc1', '0.99.9i', '1.0.rc2', '0.99.9j', '1.0.rc3', '0.99.9k', '0.99.9l', '1.0.rc4', '0.99.9m', '1.0.rc5', '0.99.9n', '1.0.rc6', '1.0.0a', '1.0.0b', + + # vendor specific versions + # GitLab embedded git + '2.37.1.gl1', ); # non-git version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/release-distmeta.t new/Git-Version-Compare-1.005/t/release-distmeta.t --- old/Git-Version-Compare-1.004/t/release-distmeta.t 2016-05-24 06:03:07.000000000 +0200 +++ new/Git-Version-Compare-1.005/t/release-distmeta.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -# This file was automatically generated by Dist::Zilla::Plugin::MetaTests. - -use Test::CPAN::Meta; - -meta_yaml_ok();