From 80f1209300ed81e6cd92641e3838d8e0748db00d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Fri, 3 Jun 2016 12:25:58 +0200
Subject: Adapt to Gearman-1.12.007
---
...c-0.94-Do-not-use-removed-Gearman-Objects.patch | 32 ++++++++++++++++++++++
perl-Gearman-Client-Async.spec | 9 ++++--
2 files changed, 39 insertions(+), 2 deletions(-)
create mode 100644 Gearman-Client-Async-0.94-Do-not-use-removed-Gearman-Objects.patch
diff --git a/Gearman-Client-Async-0.94-Do-not-use-removed-Gearman-Objects.patch
b/Gearman-Client-Async-0.94-Do-not-use-removed-Gearman-Objects.patch
new file mode 100644
index 0000000..f699bf2
--- /dev/null
+++ b/Gearman-Client-Async-0.94-Do-not-use-removed-Gearman-Objects.patch
@@ -0,0 +1,32 @@
+From 2edb9207284b34db4ce6476570db7150e86f107e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
+Date: Fri, 3 Jun 2016 12:22:50 +0200
+Subject: [PATCH] Do not use removed Gearman::Objects
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Gearman-1.12.007 removed dummy Gearman::Objects module.
+
+CPAN RT#115026
+
+Signed-off-by: Petr Písař <ppisar(a)redhat.com>
+---
+ lib/Gearman/Client/Async.pm | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/lib/Gearman/Client/Async.pm b/lib/Gearman/Client/Async.pm
+index ff73253..ea2036f 100644
+--- a/lib/Gearman/Client/Async.pm
++++ b/lib/Gearman/Client/Async.pm
+@@ -52,7 +52,6 @@ use fields (
+ );
+
+ use Danga::Socket 1.52;
+-use Gearman::Objects;
+ use Gearman::Task;
+ use Gearman::JobStatus;
+ use Gearman::Client::Async::Connection;
+--
+2.5.5
+
diff --git a/perl-Gearman-Client-Async.spec b/perl-Gearman-Client-Async.spec
index 5eef021..6213164 100644
--- a/perl-Gearman-Client-Async.spec
+++ b/perl-Gearman-Client-Async.spec
@@ -1,11 +1,13 @@
Name: perl-Gearman-Client-Async
Version: 0.94
-Release: 24%{?dist}
+Release: 25%{?dist}
Summary: Asynchronous Client for the Gearman distributed job system
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Gearman-Client-Async/
Source0:
http://www.cpan.org/authors/id/B/BR/BRADFITZ/Gearman-Client-Async-%{versi...
+# Adapt to Gearman-1.12.007, CPAN RT#115026
+Patch0: Gearman-Client-Async-0.94-Do-not-use-removed-Gearman-Objects.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
@@ -19,7 +21,6 @@ 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)
@@ -49,6 +50,7 @@ Asynchronous Client for the Gearman distributed job system
%prep
%setup -q -n Gearman-Client-Async-%{version}
+%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -75,6 +77,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_mandir}/man3/*
%changelog
+* Fri Jun 03 2016 Petr Pisar <ppisar(a)redhat.com> - 0.94-25
+- Adapt to Gearman-1.12.007 (CPAN RT#115026)
+
* Tue May 17 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.94-24
- Perl 5.24 rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Gearman-Client-Async.git/commit/?...