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:
Stephan Kulow
2016-07-04 12:31:48 +00:00
committed by Git OBS Bridge
parent f57241a695
commit a03b832c8a
4 changed files with 26 additions and 16 deletions

View File

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

View File

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

View File

@@ -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

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Algorithm-TokenBucket
Version: 0.37
Version: 0.38
Release: 0
%define cpan_name Algorithm-TokenBucket
Summary: Token bucket rate limiting algorithm
@@ -30,34 +30,36 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.380000
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(Test::NoWarnings)
%{perl_requires}
%description
Token Bucket algorithm is a flexible way of imposing a rate limit against a
stream of items. It is also very easy to combine several rate-limiters in
an 'AND' or 'OR' fashion.
The Token Bucket algorithm is a flexible way of imposing a rate limit
against a stream of items. It is also very easy to combine several
rate-limiters in an 'AND' or 'OR' fashion.
Each bucket has a constant memory footprint because the algorithm is based
on 'information rate'. Other rate limiters available on CPAN keep track of
_ALL_ incoming items in memory. It allows them to be much more accurate.
on the 'information rate'. Other rate limiters may keep track of _ALL_
incoming items in memory. It allows them to be more accurate.
FYI, 'conform', 'count', 'information rate', 'burst size' terms are taken
from the http://linux-ip.net/gl/tcng/node62.html manpage page.
FYI, the 'conform', 'count', 'information rate', and 'burst size' terms are
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
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%{__perl} Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files