diff options
Diffstat (limited to 'php-pecl-zookeeper.spec')
-rw-r--r-- | php-pecl-zookeeper.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-zookeeper.spec b/php-pecl-zookeeper.spec index 6d54939..8f3611a 100644 --- a/php-pecl-zookeeper.spec +++ b/php-pecl-zookeeper.spec @@ -28,6 +28,9 @@ Group: Development/Languages URL: http://github.com/andreiz/php-zookeeper Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: https://github.com/php-zookeeper/php-zookeeper/commit/48d54026ef6e448bc91949b279103a313a5b053f.patch +Patch1: https://github.com/php-zookeeper/php-zookeeper/commit/c3f9d604adc77bc16601cebd0aabecaf21fb563b.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -85,6 +88,9 @@ mv %{pecl_name}-%{version} NTS %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} cd NTS +%patch0 -p1 -b .up1 +%patch1 -p1 -b .up2 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_ZOOKEEPER_VERSION/{s/.* "//;s/".*$//;p}' php_zookeeper.h) if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then @@ -207,9 +213,10 @@ cd ../ZTS %changelog -* Sun Jul 15 2018 Remi Collet <remi@remirepo.net> - 0.6.1-1 +* Fri Jul 20 2018 Remi Collet <remi@remirepo.net> - 0.6.1-1 - update to 0.6.1 - raise dependency on PHP 7 +- add upstream patches for libzookeeper < 3.5 * Wed Jun 27 2018 Remi Collet <remi@remirepo.net> - 0.6.0-1 - update to 0.6.0 |