Accepting request 1153700 from devel:languages:perl:autoupdate

- updated to 0.010
   see /usr/share/doc/packages/perl-Algorithm-Backoff/Changes

OBS-URL: https://build.opensuse.org/request/show/1153700
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-Backoff?expand=0&rev=2
This commit is contained in:
2024-03-08 10:31:11 +00:00
committed by Git OBS Bridge
parent 70e9a92b9b
commit 69c05bc6ea
4 changed files with 29 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f0ffcdf1e65a88022d6412f46ad977ede5a7b64be663009d13948fe8c9d180b
size 23444

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6d118b7f1832433e1244c6c8d3202e9db3d9fd90c7c8dfaa08a3ba8ab94ff10
size 24913

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Feb 25 03:05:57 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.010
see /usr/share/doc/packages/perl-Algorithm-Backoff/Changes
-------------------------------------------------------------------
Thu Oct 13 07:31:45 UTC 2022 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Algorithm-Backoff
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,13 @@
%define cpan_name Algorithm-Backoff
Name: perl-Algorithm-Backoff
Version: 0.009
Version: 0.10.0
Release: 0
%define cpan_version 0.010
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Various backoff strategies for retry
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
@@ -32,6 +33,15 @@ BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Number::Delta)
BuildRequires: perl(parent)
Requires: perl(parent)
Provides: perl(Algorithm::Backoff) = %{version}
Provides: perl(Algorithm::Backoff::Constant) = %{version}
Provides: perl(Algorithm::Backoff::Exponential) = %{version}
Provides: perl(Algorithm::Backoff::Fibonacci) = %{version}
Provides: perl(Algorithm::Backoff::LILD) = %{version}
Provides: perl(Algorithm::Backoff::LIMD) = %{version}
Provides: perl(Algorithm::Backoff::MILD) = %{version}
Provides: perl(Algorithm::Backoff::MIMD) = %{version}
%define __perllib_provides /bin/true
%{perl_requires}
%description
@@ -40,8 +50,14 @@ strategies for setting delay between retry attempts.
This class ('Algorithm::Backoff') is a base class only.
Algorithm::Backoff does not actually provide a function/method to retry a
piece of code. It only contains the backoff strategies and splits the
actual delaying to another module (e.g. Retry::Backoff). This allows for
things like printing/returning all the retries and their delay amounts
without actually doing the delay (e.g. in show-backoff-delays script).
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor