Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
243d268cb4 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ Gearman-1.11.tar.gz
|
||||
/Gearman-1.12.007.tar.gz
|
||||
/Gearman-1.12.008.tar.gz
|
||||
/Gearman-1.12.009.tar.gz
|
||||
/Gearman-1.130.004.tar.gz
|
||||
|
@ -1,32 +0,0 @@
|
||||
From d848d6108ab26b2a470db7a921c576588b14f1a5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Fri, 3 Jun 2016 15:36:59 +0200
|
||||
Subject: [PATCH] Do not test /usr/sbin/gearmand from gearmand package
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The non-Perl gearmand is not compatible with the tests.
|
||||
|
||||
CPAN RT#68155
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
t/TestGearman.pm | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/t/TestGearman.pm b/t/TestGearman.pm
|
||||
index 4058246..807c21c 100644
|
||||
--- a/t/TestGearman.pm
|
||||
+++ b/t/TestGearman.pm
|
||||
@@ -25,7 +25,6 @@ sub start_server {
|
||||
"$Bin/../../../../../server/gearmand", # using svn and 'disttest'
|
||||
dirname($^X) . '/gearmand', # local installs (e.g. perlbrew)
|
||||
'/usr/bin/gearmand', # where some distros might put it
|
||||
- '/usr/sbin/gearmand', # where other distros might put it
|
||||
);
|
||||
my $server = first { -e $_ } @loc
|
||||
or return 0;
|
||||
--
|
||||
2.5.5
|
||||
|
@ -1,13 +1,11 @@
|
||||
Name: perl-Gearman
|
||||
Version: 1.12.009
|
||||
Version: 1.130.004
|
||||
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/P/PA/PALIK/Gearman-%{version}.tar.gz
|
||||
# Avoid non-Perl gearmand is not compatible with the tests, CPAN RT#68155
|
||||
Patch0: Gearman-1.12.008-Do-not-test-usr-sbin-gearmand-from-gearmand-package.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
@ -25,21 +23,22 @@ BuildRequires: perl(Errno)
|
||||
BuildRequires: perl(fields)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(IO::Socket::INET)
|
||||
BuildRequires: perl(POSIX)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(String::CRC32)
|
||||
BuildRequires: perl(Time::HiRes)
|
||||
BuildRequires: perl(version)
|
||||
# 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(Perl::OSType)
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(Test::Timer)
|
||||
# Optional tests:
|
||||
%if !%{defined perl_bootstrap}
|
||||
# Break build cycle: perl-Gearman → perl-Gearman-Server → perl-Gearman
|
||||
@ -56,7 +55,6 @@ between languages.
|
||||
|
||||
%prep
|
||||
%setup -q -n Gearman-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
@ -71,11 +69,14 @@ find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc CHANGES HACKING TODO
|
||||
%doc CHANGES README TODO
|
||||
%{perl_vendorlib}/Gearman
|
||||
%{_mandir}/man3/Gearman::*.*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 08 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.130.004-1
|
||||
- 1.130.004 bump
|
||||
|
||||
* Mon Jun 06 2016 Petr Pisar <ppisar@redhat.com> - 1.12.009-1
|
||||
- 1.12.009 bump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user