[php-pecl-gearman] update to 1.0.2 and fix FTBFS

Remi Collet remi at fedoraproject.org
Sat Aug 4 16:20:57 UTC 2012


commit e06d28fa7273f38eb5c7785dfdf2739b57ef48d5
Author: remi <fedora at famillecollet.com>
Date:   Sat Aug 4 18:20:51 2012 +0200

    update to 1.0.2 and fix FTBFS

 .gitignore            |    1 +
 php-pecl-gearman.spec |   20 ++++++++++++++------
 sources               |    2 +-
 3 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0d629bf..ca19b97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /gearman-0.7.0.tgz
 /gearman-1.0.1.tgz
+/gearman-1.0.2.tgz
diff --git a/php-pecl-gearman.spec b/php-pecl-gearman.spec
index d56f9a9..0462db1 100644
--- a/php-pecl-gearman.spec
+++ b/php-pecl-gearman.spec
@@ -4,8 +4,8 @@
 %define pecl_name gearman
 
 Name:		php-pecl-gearman
-Version:	1.0.1
-Release:	2%{?dist}
+Version:	1.0.2
+Release:	1%{?dist}
 Summary:	PHP wrapper to libgearman
 
 Group:		Development/Tools
@@ -15,18 +15,21 @@ Source0:	http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:	php-devel, libgearman-devel > 0.21
+BuildRequires:	libgearman-devel > 0.21
+BuildRequires:	php-devel
 BuildRequires:	php-pear
 # Required by phpize
-BuildRequires: autoconf, automake, libtool
+BuildRequires:	autoconf, automake, libtool
+# Temporary workaround for https://bugzilla.redhat.com/819209
+BuildRequires:	libgearman-1.0
+BuildRequires:	libgearman-1.0-devel
 
 Requires:	php(zend-abi) = %{php_zend_api}
 Requires:	php(api) = %{php_core_api}
 Requires(post): %{__pecl}
 Requires(postun): %{__pecl}
 
-# comment this as ABI are enough : libgearman.so.6 and php(zend-abi).
-#Requires:	php-common, gearmand >= 0.12, libgearman > 0.8
+Provides:	php-pecl(%{pecl_name}) = %{version}
 
 # Fix private-shared-object-provides
 # RPM 4.8
@@ -111,6 +114,11 @@ fi
 
 
 %changelog
+* Sat Aug 04 2012 Remi Collet <remi at fedoraproject.org> - 1.0.2-1
+- update to 1.0.2
+- add BR on libgearman-1.0, workaround for https://bugzilla.redhat.com/819209
+- add missing provides php-pecl(gearman)
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 0555ec6..d6a3736 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dc576593f18e73aacf3b4430ba9d47d5  gearman-1.0.1.tgz
+98464746d1de660f15a25b1bc8fcbc8a  gearman-1.0.2.tgz


More information about the scm-commits mailing list