commit fe4fa90c0ef490415b0ca3cc2058401234e56e1a Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Jul 19 19:22:01 2013 +0200 Specify all dependencies perl-Gearman-Client-Async.spec | 48 ++++++++++++++++++++++++++++++---------- 1 files changed, 36 insertions(+), 12 deletions(-) --- diff --git a/perl-Gearman-Client-Async.spec b/perl-Gearman-Client-Async.spec index 132e378..335fa4d 100644 --- a/perl-Gearman-Client-Async.spec +++ b/perl-Gearman-Client-Async.spec @@ -9,28 +9,46 @@ Source0: http://www.cpan.org/authors/id/B/BR/BRADFITZ/Gearman-Client-Asyn BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Danga::Socket) >= 1.52 +BuildRequires: perl(fields) +BuildRequires: perl(Gearman::JobStatus) +BuildRequires: perl(Gearman::Objects) +BuildRequires: perl(Gearman::ResponseParser) +BuildRequires: perl(Gearman::Task) +BuildRequires: perl(Gearman::Util) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(List::Util) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Socket) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(FindBin) BuildRequires: perl(Gearman::Server) - +BuildRequires: perl(Gearman::Worker) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(lib) +BuildRequires: perl(POSIX) +BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Filter double Requires: +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Danga::Socket\\)$ + %description Asynchronous Client for the Gearman distributed job system %prep %setup -q -n Gearman-Client-Async-%{version} -# Filter double Requires: -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} $* |\ - sed -e '/^perl(Danga::Socket)$/d' -EOF - -%define __perl_requires %{_builddir}/Gearman-Client-Async-%{version}/%{name}-req -chmod +x %{__perl_requires} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -38,6 +56,10 @@ make %{?_smp_mflags} mv README.txt README %check +# t/err1.t blocks (CPAN RT#73048, 82700) +rm t/err1.t +# t/err3.t fails (CPAN RT#87063) +rm t/err3.t # this test fails to run on x86_64 (#246356) rm t/err8.t make test @@ -64,6 +86,8 @@ rm -rf %{buildroot} %changelog * Thu Jul 18 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.94-16 - Perl 5.18 rebuild +- Specify all dependencies +- Disable some tests * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.94-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel