#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir POE
%define pnam Component-JobQueue
+%include /usr/lib/rpm/macros.perl
Summary: POE::Component::JobQueue - a component to manage queues and worker pools
Summary(pl.UTF-8): POE::Component::JobQueue - komponent do zarządzania kolejkami i robotnikami
Name: perl-POE-Component-JobQueue
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 4b6d96b08ac72fb4ba131017f36407a2
+URL: http://search.cpan.org/dist/POE-Component-JobQueue/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
%description
POE::Component::JobQueue manages a finite pool of worker sessions as
-they handle an arbitrarily large number of tasks. It often is used as
+they handle an arbitrarily large number of tasks. It often is used as
a form of flow control, preventing a large group of tasks from
exhausting some sort of resource.