diff --git a/Algorithm-TokenBucket-0.37.tar.gz b/Algorithm-TokenBucket-0.37.tar.gz deleted file mode 100644 index ceef177..0000000 --- a/Algorithm-TokenBucket-0.37.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:53ec5b447fc0acca878d75455bfcb3cc1f5e3b9c9ce8f4efd624c2539bb1843a -size 19005 diff --git a/Algorithm-TokenBucket-0.38.tar.gz b/Algorithm-TokenBucket-0.38.tar.gz new file mode 100644 index 0000000..50186d7 --- /dev/null +++ b/Algorithm-TokenBucket-0.38.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8349bb641a62f4226fe891e36365351dc455ea01eaa686889fb89ae863533cd +size 18718 diff --git a/perl-Algorithm-TokenBucket.changes b/perl-Algorithm-TokenBucket.changes index 13cd7cc..b1c01b9 100644 --- a/perl-Algorithm-TokenBucket.changes +++ b/perl-Algorithm-TokenBucket.changes @@ -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 diff --git a/perl-Algorithm-TokenBucket.spec b/perl-Algorithm-TokenBucket.spec index e996846..4b4bf69 100644 --- a/perl-Algorithm-TokenBucket.spec +++ b/perl-Algorithm-TokenBucket.spec @@ -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