Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Time-Out for openSUSE:Factory checked in at 2023-12-09 22:53:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Time-Out (Old)
and /work/SRC/openSUSE:Factory/.perl-Time-Out.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Time-Out"
Sat Dec 9 22:53:59 2023 rev:3 rq:1132232 version:0.240.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Time-Out/perl-Time-Out.changes 2014-03-18 15:51:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Time-Out.new.25432/perl-Time-Out.changes 2023-12-09 22:57:45.565538561 +0100
@@ -1,0 +2,6 @@
+Tue Nov 28 03:10:08 UTC 2023 - Tina Müller
+
+- updated to 0.24
+ see /usr/share/doc/packages/perl-Time-Out/Changes
+
+-------------------------------------------------------------------
Old:
----
Time-Out-0.11.tar.gz
New:
----
Time-Out-0.24.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Time-Out.spec ++++++
--- /var/tmp/diff_new_pack.CEbAVx/_old 2023-12-09 22:57:45.985553974 +0100
+++ /var/tmp/diff_new_pack.CEbAVx/_new 2023-12-09 22:57:45.985553974 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Time-Out
#
-# Copyright (c) 2014 SUSE LINUX Products 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,38 +12,68 @@
# 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 Time-Out
Name: perl-Time-Out
-Version: 0.11
+Version: 0.240.0
Release: 0
-%define cpan_name Time-Out
+%define cpan_version 0.24
+License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Easily timeout long running operations
-License: GPL-1.0+ or Artistic-1.0
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Time-Out/
-Source: http://www.cpan.org/authors/id/P/PA/PATL/%{cpan_name}-%{version}.tar.gz
+URL: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/S/SV/SVW/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: perl(App::cpanminus) >= 1.7046
+BuildRequires: perl(ExtUtils::MakeMaker::CPANfile) >= 0.09
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::Needs)
+BuildRequires: perl(Try::Tiny)
+Requires: perl(Try::Tiny)
+Provides: perl(Time::Out) = %{version}
+Provides: perl(Time::Out::Exception) = %{version}
+Provides: perl(Time::Out::ParamConstraints) = %{version}
+%define __perllib_provides /bin/true
+Recommends: perl(Time::HiRes) >= 1.972.600
%{perl_requires}
%description
-'Time::Out' provides an easy interface to _alarm(2)_ based timeouts. Nested
-timeouts are supported.
+The 'Time::Out' module provides an easy interface to alarm(2) based
+timeouts. Nested timeouts are supported. The module exports the 'timeout()'
+function by default. The function returns whatever the code placed inside
+the subroutine reference returns:
+
+ use Time::Out qw( timeout );
+
+ my $result = timeout 5 => sub {
+ return 7;
+ };
+ # $result == 7
+
+If 'Time::Out' sees that Time::HiRes has been loaded, it will use that
+'alarm()' function (if available) instead of the default one, allowing
+float timeout values to be used effectively:
+
+ use Time::HiRes qw();
+ use Time::Out qw( timeout );
+
+ timeout 3.1416 => sub {
+ # ...
+ };
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{cpan_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
@@ -51,6 +81,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes README
+%license LICENSE
++++++ Time-Out-0.11.tar.gz -> Time-Out-0.24.tar.gz ++++++
++++ 1972 lines of diff (skipped)