diff options
Diffstat (limited to 'php-pecl-couchbase2.spec')
-rw-r--r-- | php-pecl-couchbase2.spec | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/php-pecl-couchbase2.spec b/php-pecl-couchbase2.spec index 7137fc0..c0b2c5d 100644 --- a/php-pecl-couchbase2.spec +++ b/php-pecl-couchbase2.spec @@ -23,9 +23,11 @@ %endif #global prever beta4 +%global libbuildver %(pkg-config --silence-errors --modversion libcouchbase 2>/dev/null || echo 65536) + Summary: Couchbase Server PHP extension Name: %{?sub_prefix}php-pecl-couchbase2 -Version: 2.3.1 +Version: 2.3.2 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages @@ -36,16 +38,15 @@ BuildRequires: %{?scl_prefix}php-devel >= 5.4 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-pecl-igbinary-devel BuildRequires: %{?scl_prefix}php-json -BuildRequires: libcouchbase-devel >= 2.7.3 +BuildRequires: pkgconfig(libcouchbase) >= 2.7.4 BuildRequires: fastlz-devel BuildRequires: zlib-devel -# to ensure compatibility with XDebug -BuildRequires: %{?scl_prefix}php-pecl-xdebug Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-json%{?_isa} Requires: %{?scl_prefix}php-igbinary%{?_isa} +Requires: libcouchbase%{?_isa} >= %{libbuildver} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} Provides: %{?scl_prefix}php-%{pecl_name} = %{version} @@ -85,6 +86,10 @@ Obsoletes: php70w-pecl-%{pecl_name}2 <= %{version} Obsoletes: php71u-pecl-%{pecl_name}2 <= %{version} Obsoletes: php71w-pecl-%{pecl_name}2 <= %{version} %endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-%{pecl_name}2 <= %{version} +Obsoletes: php72w-pecl-%{pecl_name}2 <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -249,6 +254,9 @@ fi %changelog +* Tue May 2 2017 Remi Collet <remi@remirepo.net> - 2.3.2-1 +- Update to 2.3.2 + * Wed Apr 5 2017 Remi Collet <remi@remirepo.net> - 2.3.1-1 - Update to 2.3.1 |