From 70e9a92b9b125de29a001db6de261eb4ff975b9703676db18c68204ac485152c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 13 Oct 2022 07:41:06 +0000 Subject: [PATCH] Accepting request 1010412 from devel:languages:perl:CPAN-A For perl-App-Sqitch update OBS-URL: https://build.opensuse.org/request/show/1010412 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-Backoff?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + Algorithm-Backoff-0.009.tar.gz | 3 ++ perl-Algorithm-Backoff.changes | 5 +++ perl-Algorithm-Backoff.spec | 62 ++++++++++++++++++++++++++++++++++ 5 files changed, 94 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Algorithm-Backoff-0.009.tar.gz create mode 100644 perl-Algorithm-Backoff.changes create mode 100644 perl-Algorithm-Backoff.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Algorithm-Backoff-0.009.tar.gz b/Algorithm-Backoff-0.009.tar.gz new file mode 100644 index 0000000..383c3ea --- /dev/null +++ b/Algorithm-Backoff-0.009.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f0ffcdf1e65a88022d6412f46ad977ede5a7b64be663009d13948fe8c9d180b +size 23444 diff --git a/perl-Algorithm-Backoff.changes b/perl-Algorithm-Backoff.changes new file mode 100644 index 0000000..1f15843 --- /dev/null +++ b/perl-Algorithm-Backoff.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Oct 13 07:31:45 UTC 2022 - Dirk Stoecker + +- initial package 0.009 + * created by cpanspec 1.81.01 diff --git a/perl-Algorithm-Backoff.spec b/perl-Algorithm-Backoff.spec new file mode 100644 index 0000000..d44be82 --- /dev/null +++ b/perl-Algorithm-Backoff.spec @@ -0,0 +1,62 @@ +# +# spec file for package perl-Algorithm-Backoff +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define cpan_name Algorithm-Backoff +Name: perl-Algorithm-Backoff +Version: 0.009 +Release: 0 +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 +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) >= 0.98 +BuildRequires: perl(Test::Number::Delta) +BuildRequires: perl(parent) +Requires: perl(parent) +%{perl_requires} + +%description +This distribution provides several classes that implement various backoff +strategies for setting delay between retry attempts. + +This class ('Algorithm::Backoff') is a base class only. + +%prep +%autosetup -n %{cpan_name}-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc Changes README +%license LICENSE + +%changelog