From e7510d8b6041837a4998a37587033be45ca4931f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 1 Jun 2016 11:14:41 +0200 Subject: [PATCH] 1.12.007 bump --- .gitignore | 1 + perl-Gearman.spec | 58 +++++++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 38 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 519463a..e9915ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Gearman-1.11.tar.gz /Gearman-1.12.tar.gz +/Gearman-1.12.007.tar.gz diff --git a/perl-Gearman.spec b/perl-Gearman.spec index f166d58..9475378 100644 --- a/perl-Gearman.spec +++ b/perl-Gearman.spec @@ -1,43 +1,49 @@ Name: perl-Gearman -Version: 1.12 -Release: 5%{?dist} -Summary: Distributed job system +Version: 1.12.007 +Release: 1%{?dist} +Summary: Perl interface for Gearman distributed job system License: GPL+ or Artistic Group: Development/Libraries URL: http://danga.com/gearman/ -Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/Gearman-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/P/PA/PALIK/Gearman-%{version}.tar.gz BuildArch: noarch - - +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: sed +# Run-time: BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Errno) -BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(fields) -BuildRequires: perl(File::Basename) -BuildRequires: perl(FindBin) -BuildRequires: perl(Getopt::Long) BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Socket::INET) -BuildRequires: perl(lib) -BuildRequires: perl(List::Util) -BuildRequires: perl(POSIX) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Socket) BuildRequires: perl(Storable) -BuildRequires: perl(strict) BuildRequires: perl(String::CRC32) -BuildRequires: perl(Test::More) BuildRequires: perl(Time::HiRes) +# Tests: +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(FindBin) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(lib) +BuildRequires: perl(List::Util) +BuildRequires: perl(POSIX) +BuildRequires: perl(Test::More) BuildRequires: perl(vars) -BuildRequires: perl(warnings) - +# Optional tests: +# gearmand not compatible with the out-dated tests +# Devel::Gladiator not yet packaged Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) -%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Gearman::Client\\)$ - %description Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the work. It allows you @@ -46,6 +52,11 @@ between languages. %prep %setup -q -n Gearman-%{version} +# Remove tests incompatible with recent gearmand, CPAN RT#68155 +for TEST in t/30-maxqueue.t t/50-wait_timeout.t; do + rm "$TEST" + sed -i -e "\\,^${TEST},d" MANIFEST +done %build perl Makefile.PL INSTALLDIRS=vendor @@ -53,18 +64,21 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files -%doc CHANGES HACKING TODO +%doc CHANGES README TODO %{perl_vendorlib}/Gearman %{_mandir}/man3/Gearman::*.* %changelog +* Wed Jun 01 2016 Petr Pisar - 1.12.007-1 +- 1.12.007 bump + * Sun May 15 2016 Jitka Plesnikova - 1.12-5 - Perl 5.24 rebuild diff --git a/sources b/sources index c73d46b..4f53360 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e6065973b6052bc1229b2740c374025b Gearman-1.12.tar.gz +71ab639c369ee5a1433d077f3cd473f4 Gearman-1.12.007.tar.gz