Accepting request 406382 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/406382 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-TokenBucket?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
f57241a695
commit
a03b832c8a
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:53ec5b447fc0acca878d75455bfcb3cc1f5e3b9c9ce8f4efd624c2539bb1843a
|
|
||||||
size 19005
|
|
3
Algorithm-TokenBucket-0.38.tar.gz
Normal file
3
Algorithm-TokenBucket-0.38.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c8349bb641a62f4226fe891e36365351dc455ea01eaa686889fb89ae863533cd
|
||||||
|
size 18718
|
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 4 12:12:48 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.38
|
||||||
|
see /usr/share/doc/packages/perl-Algorithm-TokenBucket/Changes
|
||||||
|
|
||||||
|
0.38 2016-07-01T08:51:35Z
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 6 08:28:23 UTC 2015 - coolo@suse.com
|
Tue Oct 6 08:28:23 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Algorithm-TokenBucket
|
# spec file for package perl-Algorithm-TokenBucket
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Algorithm-TokenBucket
|
Name: perl-Algorithm-TokenBucket
|
||||||
Version: 0.37
|
Version: 0.38
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Algorithm-TokenBucket
|
%define cpan_name Algorithm-TokenBucket
|
||||||
Summary: Token bucket rate limiting algorithm
|
Summary: Token bucket rate limiting algorithm
|
||||||
@@ -30,34 +30,36 @@ BuildArch: noarch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Build) >= 0.380000
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
||||||
BuildRequires: perl(Test::NoWarnings)
|
BuildRequires: perl(Test::NoWarnings)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Token Bucket algorithm is a flexible way of imposing a rate limit against a
|
The Token Bucket algorithm is a flexible way of imposing a rate limit
|
||||||
stream of items. It is also very easy to combine several rate-limiters in
|
against a stream of items. It is also very easy to combine several
|
||||||
an 'AND' or 'OR' fashion.
|
rate-limiters in an 'AND' or 'OR' fashion.
|
||||||
|
|
||||||
Each bucket has a constant memory footprint because the algorithm is based
|
Each bucket has a constant memory footprint because the algorithm is based
|
||||||
on 'information rate'. Other rate limiters available on CPAN keep track of
|
on the 'information rate'. Other rate limiters may keep track of _ALL_
|
||||||
_ALL_ incoming items in memory. It allows them to be much more accurate.
|
incoming items in memory. It allows them to be more accurate.
|
||||||
|
|
||||||
FYI, 'conform', 'count', 'information rate', 'burst size' terms are taken
|
FYI, the 'conform', 'count', 'information rate', and 'burst size' terms are
|
||||||
from the http://linux-ip.net/gl/tcng/node62.html manpage page.
|
taken from the at http://linux-ip.net/gl/tcng/node62.html page of the at
|
||||||
|
http://linux-ip.net/gl/tcng/ system documentation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Build.PL --installdirs=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
./Build build --flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
|
Reference in New Issue
Block a user