diff --git a/Algorithm-Backoff-0.009.tar.gz b/Algorithm-Backoff-0.009.tar.gz deleted file mode 100644 index 383c3ea..0000000 --- a/Algorithm-Backoff-0.009.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9f0ffcdf1e65a88022d6412f46ad977ede5a7b64be663009d13948fe8c9d180b -size 23444 diff --git a/Algorithm-Backoff-0.010.tar.gz b/Algorithm-Backoff-0.010.tar.gz new file mode 100644 index 0000000..d8a2c97 --- /dev/null +++ b/Algorithm-Backoff-0.010.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6d118b7f1832433e1244c6c8d3202e9db3d9fd90c7c8dfaa08a3ba8ab94ff10 +size 24913 diff --git a/perl-Algorithm-Backoff.changes b/perl-Algorithm-Backoff.changes index 1f15843..584774d 100644 --- a/perl-Algorithm-Backoff.changes +++ b/perl-Algorithm-Backoff.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Feb 25 03:05:57 UTC 2024 - Tina Müller + +- updated to 0.010 + see /usr/share/doc/packages/perl-Algorithm-Backoff/Changes + ------------------------------------------------------------------- Thu Oct 13 07:31:45 UTC 2022 - Dirk Stoecker diff --git a/perl-Algorithm-Backoff.spec b/perl-Algorithm-Backoff.spec index d44be82..d6cda21 100644 --- a/perl-Algorithm-Backoff.spec +++ b/perl-Algorithm-Backoff.spec @@ -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