Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Test-Mock-Time for
openSUSE:Factory checked in at 2023-06-13 16:10:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Mock-Time (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Mock-Time.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Mock-Time"
Tue Jun 13 16:10:38 2023 rev:3 rq:1092781 version:0.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Mock-Time/perl-Test-Mock-Time.changes
2018-01-24 15:30:16.175021076 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Test-Mock-Time.new.15902/perl-Test-Mock-Time.changes
2023-06-13 16:10:40.779299408 +0200
@@ -1,0 +2,9 @@
+Wed Jun 7 03:08:53 UTC 2023 - Tina Müller <[email protected]>
+
+- updated to 0.2.0
+ see /usr/share/doc/packages/perl-Test-Mock-Time/Changes
+
+ v0.2.0 2023-06-07 01:30:38 EEST
+ - Fix compatibility with modern EV.
+
+-------------------------------------------------------------------
Old:
----
Test-Mock-Time-v0.1.7.tar.gz
New:
----
Test-Mock-Time-v0.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Mock-Time.spec ++++++
--- /var/tmp/diff_new_pack.oiS78u/_old 2023-06-13 16:10:41.391303019 +0200
+++ /var/tmp/diff_new_pack.oiS78u/_new 2023-06-13 16:10:41.395303042 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Mock-Time
#
-# Copyright (c) 2018 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,22 +12,20 @@
# 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 Test-Mock-Time
Name: perl-Test-Mock-Time
-Version: 0.1.7
+Version: 0.2.0
Release: 0
-%define cpan_name Test-Mock-Time
-Summary: Deterministic time & timers for event loop tests
License: MIT
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Test-Mock-Time/
+Summary: Deterministic time & timers for event loop tests
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/P/PO/POWERMAN/%{cpan_name}-v%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Export::Attrs)
@@ -51,10 +49,10 @@
other related modules (Time::HiRes, Mojolicious, EV, etc.).
%prep
-%setup -q -n %{cpan_name}-v%{version}
+%autosetup -n %{cpan_name}-v%{version}
%build
-%{__perl} Build.PL --installdirs=vendor
+perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
@@ -65,7 +63,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
++++++ Test-Mock-Time-v0.1.7.tar.gz -> Test-Mock-Time-v0.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Mock-Time-v0.1.7/Changes
new/Test-Mock-Time-v0.2.0/Changes
--- old/Test-Mock-Time-v0.1.7/Changes 2018-01-09 20:05:32.000000000 +0100
+++ new/Test-Mock-Time-v0.2.0/Changes 2023-06-07 00:30:41.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for Test-Mock-Time
+v0.2.0 2023-06-07 01:30:38 EEST
+ - Fix compatibility with modern EV.
+
v0.1.7 2018-01-09 21:05:29 EET
- Add support for perl-5.8.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Mock-Time-v0.1.7/MANIFEST
new/Test-Mock-Time-v0.2.0/MANIFEST
--- old/Test-Mock-Time-v0.1.7/MANIFEST 2018-01-09 20:05:32.000000000 +0100
+++ new/Test-Mock-Time-v0.2.0/MANIFEST 2023-06-07 00:30:41.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.008.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.029.
Build.PL
Changes
LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Mock-Time-v0.1.7/META.json
new/Test-Mock-Time-v0.2.0/META.json
--- old/Test-Mock-Time-v0.1.7/META.json 2018-01-09 20:05:32.000000000 +0100
+++ new/Test-Mock-Time-v0.2.0/META.json 2023-06-07 00:30:41.000000000 +0200
@@ -4,13 +4,13 @@
"Alex Efros <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Milla version v1.0.17, Dist::Zilla version 6.008,
CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "Dist::Milla version v1.0.21, Dist::Zilla version 6.029,
CPAN::Meta::Converter version 2.150010",
"license" : [
"mit"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Test-Mock-Time",
"no_index" : {
@@ -34,7 +34,7 @@
},
"develop" : {
"requires" : {
- "Dist::Milla" : "v1.0.17",
+ "Dist::Milla" : "v1.0.21",
"Test::Distribution" : "0",
"Test::Perl::Critic" : "0",
"Test::Pod" : "1.41"
@@ -68,7 +68,7 @@
"provides" : {
"Test::Mock::Time" : {
"file" : "lib/Test/Mock/Time.pm",
- "version" : "v0.1.7"
+ "version" : "v0.2.0"
}
},
"release_status" : "stable",
@@ -83,10 +83,13 @@
"web" : "https://github.com/powerman/perl-Test-Mock-Time"
}
},
- "version" : "v0.1.7",
+ "version" : "v0.2.0",
"x_contributors" : [
"Dagfinn Ilmari Manns\u00e5ker <[email protected]>"
],
- "x_serialization_backend" : "JSON::XS version 3.04"
+ "x_generated_by_perl" : "v5.36.0",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.32",
+ "x_spdx_expression" : "MIT",
+ "x_static_install" : 1
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Mock-Time-v0.1.7/META.yml
new/Test-Mock-Time-v0.2.0/META.yml
--- old/Test-Mock-Time-v0.1.7/META.yml 2018-01-09 20:05:32.000000000 +0100
+++ new/Test-Mock-Time-v0.2.0/META.yml 2023-06-07 00:30:41.000000000 +0200
@@ -8,7 +8,7 @@
configure_requires:
Module::Build::Tiny: '0.034'
dynamic_config: 0
-generated_by: 'Dist::Milla version v1.0.17, Dist::Zilla version 6.008,
CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Milla version v1.0.21, Dist::Zilla version 6.029,
CPAN::Meta::Converter version 2.150010'
license: mit
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,7 +25,7 @@
provides:
Test::Mock::Time:
file: lib/Test/Mock/Time.pm
- version: v0.1.7
+ version: v0.2.0
requires:
Export::Attrs: '0'
List::Util: '1.33'
@@ -37,7 +37,10 @@
bugtracker: https://github.com/powerman/perl-Test-Mock-Time/issues
homepage: https://github.com/powerman/perl-Test-Mock-Time
repository: https://github.com/powerman/perl-Test-Mock-Time.git
-version: v0.1.7
+version: v0.2.0
x_contributors:
- 'Dagfinn Ilmari Mannsåker <[email protected]>'
-x_serialization_backend: 'YAML::Tiny version 1.70'
+x_generated_by_perl: v5.36.0
+x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: MIT
+x_static_install: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Mock-Time-v0.1.7/README
new/Test-Mock-Time-v0.2.0/README
--- old/Test-Mock-Time-v0.1.7/README 2018-01-09 20:05:32.000000000 +0100
+++ new/Test-Mock-Time-v0.2.0/README 2023-06-07 00:30:41.000000000 +0200
@@ -4,7 +4,7 @@
VERSION
- This document describes Test::Mock::Time version v0.1.7
+ This document describes Test::Mock::Time version v0.2.0
SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Mock-Time-v0.1.7/lib/Test/Mock/Time.pm
new/Test-Mock-Time-v0.2.0/lib/Test/Mock/Time.pm
--- old/Test-Mock-Time-v0.1.7/lib/Test/Mock/Time.pm 2018-01-09
20:05:32.000000000 +0100
+++ new/Test-Mock-Time-v0.2.0/lib/Test/Mock/Time.pm 2023-06-07
00:30:41.000000000 +0200
@@ -5,7 +5,7 @@
use utf8;
use Carp;
-our $VERSION = 'v0.1.7';
+our $VERSION = 'v0.2.0';
use Export::Attrs;
use List::Util qw( any );
@@ -290,7 +290,8 @@
return $w;
});
$Module{'EV'}->mock(timer_ns => sub ($$$) {
- my $w = EV::timer(@_);
+ my ($after, $repeat, $cb) = @_;
+ my $w = EV::timer($after, $repeat, $cb);
_stop_timer($w);
return $w;
});
@@ -313,7 +314,8 @@
return $w;
});
$Module{'EV'}->mock(periodic_ns => sub ($$$$) {
- my $w = EV::periodic(@_);
+ my ($at, $repeat, $reschedule_cb, $cb) = @_;
+ my $w = EV::periodic($at, $repeat, $reschedule_cb, $cb);
_stop_timer($w);
return $w;
});
@@ -408,7 +410,7 @@
$repeat = sprintf '%.6f', $repeat < 0 ? 0 : $repeat;
my $now = sprintf '%.6f', $Absolute + $Relative;
if ($repeat > 0 && $at < $now) {
- use bignum;
+ use bigint;
$at += $repeat * int(($now - $at) / $repeat + 1);
$at = sprintf '%.6f', $at;
}
@@ -507,7 +509,7 @@
=head1 VERSION
-This document describes Test::Mock::Time version v0.1.7
+This document describes Test::Mock::Time version v0.2.0
=head1 SYNOPSIS