Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-CPAN-Meta-Requirements for
openSUSE:Factory checked in at 2023-06-21 22:37:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CPAN-Meta-Requirements (Old)
and /work/SRC/openSUSE:Factory/.perl-CPAN-Meta-Requirements.new.15902
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CPAN-Meta-Requirements"
Wed Jun 21 22:37:29 2023 rev:13 rq:1093908 version:2.143000
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-CPAN-Meta-Requirements/perl-CPAN-Meta-Requirements.changes
2023-06-04 00:11:57.617303639 +0200
+++
/work/SRC/openSUSE:Factory/.perl-CPAN-Meta-Requirements.new.15902/perl-CPAN-Meta-Requirements.changes
2023-06-21 22:37:44.493606522 +0200
@@ -1,0 +2,6 @@
+Tue Jun 20 07:46:14 UTC 2023 - Pedro Monreal <[email protected]>
+
+- Update to 2.143:
+ * Fix regression with implicit minimum value and multiple requirements
+
+-------------------------------------------------------------------
Old:
----
CPAN-Meta-Requirements-2.142.tar.gz
New:
----
CPAN-Meta-Requirements-2.143.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-CPAN-Meta-Requirements.spec ++++++
--- /var/tmp/diff_new_pack.kpW1zz/_old 2023-06-21 22:37:44.973609411 +0200
+++ /var/tmp/diff_new_pack.kpW1zz/_new 2023-06-21 22:37:44.977609434 +0200
@@ -18,10 +18,10 @@
%define cpan_name CPAN-Meta-Requirements
Name: perl-CPAN-Meta-Requirements
-Version: 2.142000
+Version: 2.143000
Release: 0
-%define cpan_version 2.142
-Provides: perl(CPAN::Meta::Requirements) = 2.142000
+%define cpan_version 2.143
+Provides: perl(CPAN::Meta::Requirements) = 2.143000
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Set of version requirements for a CPAN dist
URL: https://metacpan.org/release/%{cpan_name}
++++++ CPAN-Meta-Requirements-2.142.tar.gz ->
CPAN-Meta-Requirements-2.143.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CPAN-Meta-Requirements-2.142/Changes
new/CPAN-Meta-Requirements-2.143/Changes
--- old/CPAN-Meta-Requirements-2.142/Changes 2023-05-09 13:15:07.000000000
+0200
+++ new/CPAN-Meta-Requirements-2.143/Changes 2023-06-19 20:51:59.000000000
+0200
@@ -1,5 +1,8 @@
Revision history for CPAN-Meta-Requirements
+2.143 2023-06-19 14:51:58-04:00 America/New_York
+ - Fix regression with implicit minimum value and multiple requirements
+
2.142 2023-05-09 07:15:05-04:00 America/New_York
- no changes since previous trial releae
- note: this version now requires perl v5.10 rather than v5.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CPAN-Meta-Requirements-2.142/META.json
new/CPAN-Meta-Requirements-2.143/META.json
--- old/CPAN-Meta-Requirements-2.142/META.json 2023-05-09 13:15:07.000000000
+0200
+++ new/CPAN-Meta-Requirements-2.143/META.json 2023-06-19 20:51:59.000000000
+0200
@@ -132,11 +132,11 @@
"provides" : {
"CPAN::Meta::Requirements" : {
"file" : "lib/CPAN/Meta/Requirements.pm",
- "version" : "2.142"
+ "version" : "2.143"
},
"CPAN::Meta::Requirements::Range" : {
"file" : "lib/CPAN/Meta/Requirements/Range.pm",
- "version" : "2.142"
+ "version" : "2.143"
}
},
"release_status" : "stable",
@@ -151,13 +151,14 @@
"web" :
"https://github.com/Perl-Toolchain-Gang/CPAN-Meta-Requirements"
}
},
- "version" : "2.142",
+ "version" : "2.143",
"x_authority" : "cpan:DAGOLDEN",
"x_contributors" : [
"Ed J <[email protected]>",
"Graham Knop <[email protected]>",
"Karen Etheridge <[email protected]>",
"Leon Timmermans <[email protected]>",
+ "Paul Howarth <[email protected]>",
"Ricardo Signes <[email protected]>",
"robario <[email protected]>",
"Tatsuhiko Miyagawa <[email protected]>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CPAN-Meta-Requirements-2.142/META.yml
new/CPAN-Meta-Requirements-2.143/META.yml
--- old/CPAN-Meta-Requirements-2.142/META.yml 2023-05-09 13:15:07.000000000
+0200
+++ new/CPAN-Meta-Requirements-2.143/META.yml 2023-06-19 20:51:59.000000000
+0200
@@ -30,10 +30,10 @@
provides:
CPAN::Meta::Requirements:
file: lib/CPAN/Meta/Requirements.pm
- version: '2.142'
+ version: '2.143'
CPAN::Meta::Requirements::Range:
file: lib/CPAN/Meta/Requirements/Range.pm
- version: '2.142'
+ version: '2.143'
requires:
B: '0'
Carp: '0'
@@ -45,13 +45,14 @@
bugtracker:
https://github.com/Perl-Toolchain-Gang/CPAN-Meta-Requirements/issues
homepage: https://github.com/Perl-Toolchain-Gang/CPAN-Meta-Requirements
repository: https://github.com/Perl-Toolchain-Gang/CPAN-Meta-Requirements.git
-version: '2.142'
+version: '2.143'
x_authority: cpan:DAGOLDEN
x_contributors:
- 'Ed J <[email protected]>'
- 'Graham Knop <[email protected]>'
- 'Karen Etheridge <[email protected]>'
- 'Leon Timmermans <[email protected]>'
+ - 'Paul Howarth <[email protected]>'
- 'Ricardo Signes <[email protected]>'
- 'robario <[email protected]>'
- 'Tatsuhiko Miyagawa <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CPAN-Meta-Requirements-2.142/Makefile.PL
new/CPAN-Meta-Requirements-2.143/Makefile.PL
--- old/CPAN-Meta-Requirements-2.142/Makefile.PL 2023-05-09
13:15:07.000000000 +0200
+++ new/CPAN-Meta-Requirements-2.143/Makefile.PL 2023-06-19
20:51:59.000000000 +0200
@@ -29,7 +29,7 @@
"Test::More" => "0.88",
"version" => "0.88"
},
- "VERSION" => "2.142",
+ "VERSION" => "2.143",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CPAN-Meta-Requirements-2.142/README
new/CPAN-Meta-Requirements-2.143/README
--- old/CPAN-Meta-Requirements-2.142/README 2023-05-09 13:15:07.000000000
+0200
+++ new/CPAN-Meta-Requirements-2.143/README 2023-06-19 20:51:59.000000000
+0200
@@ -2,7 +2,7 @@
CPAN::Meta::Requirements - a set of version requirements for a CPAN dist
VERSION
- version 2.142
+ version 2.143
SYNOPSIS
use CPAN::Meta::Requirements;
@@ -255,6 +255,8 @@
* Leon Timmermans <[email protected]>
+ * Paul Howarth <[email protected]>
+
* Ricardo Signes <[email protected]>
* robario <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/CPAN-Meta-Requirements-2.142/lib/CPAN/Meta/Requirements/Range.pm
new/CPAN-Meta-Requirements-2.143/lib/CPAN/Meta/Requirements/Range.pm
--- old/CPAN-Meta-Requirements-2.142/lib/CPAN/Meta/Requirements/Range.pm
2023-05-09 13:15:07.000000000 +0200
+++ new/CPAN-Meta-Requirements-2.143/lib/CPAN/Meta/Requirements/Range.pm
2023-06-19 20:51:59.000000000 +0200
@@ -4,7 +4,7 @@
package CPAN::Meta::Requirements::Range;
# ABSTRACT: a set of version requirements for a CPAN dist
-our $VERSION = '2.142';
+our $VERSION = '2.143';
use Carp ();
@@ -193,7 +193,7 @@
my ($op, $ver) = $part =~ m{\A\s*(==|>=|>|<=|<|!=)\s*(.*)\z};
if (! defined $op) {
- return $self->with_minimum($part, $module, $bad_version_hook);
+ $self = $self->with_minimum($part, $module, $bad_version_hook);
} else {
Carp::croak("illegal requirement string: $req")
unless my $methods = $methods_for_op{ $op };
@@ -607,7 +607,7 @@
=head1 VERSION
-version 2.142
+version 2.143
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/CPAN-Meta-Requirements-2.142/lib/CPAN/Meta/Requirements.pm
new/CPAN-Meta-Requirements-2.143/lib/CPAN/Meta/Requirements.pm
--- old/CPAN-Meta-Requirements-2.142/lib/CPAN/Meta/Requirements.pm
2023-05-09 13:15:07.000000000 +0200
+++ new/CPAN-Meta-Requirements-2.143/lib/CPAN/Meta/Requirements.pm
2023-06-19 20:51:59.000000000 +0200
@@ -4,7 +4,7 @@
package CPAN::Meta::Requirements;
# ABSTRACT: a set of version requirements for a CPAN dist
-our $VERSION = '2.142';
+our $VERSION = '2.143';
use CPAN::Meta::Requirements::Range;
@@ -486,7 +486,7 @@
=head1 VERSION
-version 2.142
+version 2.143
=head1 SYNOPSIS
@@ -782,7 +782,7 @@
=head1 CONTRIBUTORS
-=for stopwords Ed J Graham Knop Karen Etheridge Leon Timmermans Ricardo Signes
robario Tatsuhiko Miyagawa
+=for stopwords Ed J Graham Knop Karen Etheridge Leon Timmermans Paul Howarth
Ricardo Signes robario Tatsuhiko Miyagawa
=over 4
@@ -804,6 +804,10 @@
=item *
+Paul Howarth <[email protected]>
+
+=item *
+
Ricardo Signes <[email protected]>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CPAN-Meta-Requirements-2.142/t/strings.t
new/CPAN-Meta-Requirements-2.143/t/strings.t
--- old/CPAN-Meta-Requirements-2.142/t/strings.t 2023-05-09
13:15:07.000000000 +0200
+++ new/CPAN-Meta-Requirements-2.143/t/strings.t 2023-06-19
20:51:59.000000000 +0200
@@ -46,10 +46,10 @@
ok(!$range->accepts('1.4'), 'higher version (<=)');
# Test ""
-$range = $base->with_string_requirement('>= 1.3');
-ok($range->accepts('1.3'), 'exact version (>=)');
-ok(!$range->accepts('1.2'), 'lower version (>=)');
-ok($range->accepts('1.4'), 'higher version (>=)');
+$range = $base->with_string_requirement('1.3');
+ok($range->accepts('1.3'), 'exact version ("")');
+ok(!$range->accepts('1.2'), 'lower version ("")');
+ok($range->accepts('1.4'), 'higher version ("")');
# Test multiple requirements
$range = $base->with_string_requirement('>= 1.3, <= 2.0, != 1.6');
@@ -58,6 +58,13 @@
ok(!$range->accepts('2.1'), 'higher version (>=, <=, !)');
ok(!$range->accepts('1.6'), 'excluded version (>=, <=, !)');
+# Test multiple requirements with implicit minimum
+$range = $base->with_string_requirement('0.90, != 0.91');
+ok(!$range->accepts('0.88'), 'lower version ("", !)');
+ok($range->accepts('0.90'), 'exact version ("", !)');
+ok($range->accepts('0.901'), 'middle version ("", !)');
+ok(!$range->accepts('0.91'), 'excluded version ("", !)');
+ok($range->accepts('0.92'), 'higher version ("", !)');
my $req = CPAN::Meta::Requirements->new;
@@ -86,10 +93,10 @@
ok(!$req->accepts_module('Foo::Graz' => '1.4'), 'higher version (<=)');
# Test ""
-$req->add_string_requirement('Foo::Blurb', '>= 1.3');
-ok($req->accepts_module('Foo::Blurb' => '1.3'), 'exact version (>=)');
-ok(!$req->accepts_module('Foo::Blurb' => '1.2'), 'lower version (>=)');
-ok($req->accepts_module('Foo::Blurb' => '1.4'), 'higher version (>=)');
+$req->add_string_requirement('Foo::Blurb', '1.3');
+ok($req->accepts_module('Foo::Blurb' => '1.3'), 'exact version ("")');
+ok(!$req->accepts_module('Foo::Blurb' => '1.2'), 'lower version ("")');
+ok($req->accepts_module('Foo::Blurb' => '1.4'), 'higher version ("")');
# Test multiple requirements
$req->add_string_requirement('A::Tribe::Called', '>= 1.3, <= 2.0, != 1.6');
@@ -98,6 +105,21 @@
ok(!$req->accepts_module('A::Tribe::Called' => '2.1'), 'higher version (>=,
<=, !)');
ok(!$req->accepts_module('A::Tribe::Called' => '1.6'), 'excluded version (>=,
<=, !)');
+# Test multiple requirements with implicit minimum
+{
+ my $req = CPAN::Meta::Requirements->new;
+
+ $req->add_string_requirement('Foo::MyModule', '0.90, != 0.91');
+
+ is_deeply(
+ $req->as_string_hash,
+ {
+ 'Foo::MyModule' => '>= 0.90, != 0.91'
+ },
+ "multiple requirements with implicit minimum",
+ );
+}
+
# Test precision
{
my $req = CPAN::Meta::Requirements->new;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CPAN-Meta-Requirements-2.142/xt/author/pod-spell.t
new/CPAN-Meta-Requirements-2.143/xt/author/pod-spell.t
--- old/CPAN-Meta-Requirements-2.142/xt/author/pod-spell.t 2023-05-09
13:15:07.000000000 +0200
+++ new/CPAN-Meta-Requirements-2.143/xt/author/pod-spell.t 2023-06-19
20:51:59.000000000 +0200
@@ -16,11 +16,13 @@
Etheridge
Golden
Graham
+Howarth
Karen
Knop
Leon
Meta
Miyagawa
+Paul
Range
Requirements
Ricardo
@@ -37,6 +39,7 @@
lib
miyagawa
mohawk2
+paul
rjbs
robario
webmaster