summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-16 14:15:52 +0100
committerRemi Collet <remi@remirepo.net>2020-11-16 14:15:52 +0100
commit2a3c3f8d3aa68099d3758d51db5d4df18dafe2d6 (patch)
tree8d09538c853b88fd9a0ec8b2d9377814c4556396
parent91767b3814a0d8f79fa65e8fada37850c0389fc2 (diff)
update to 3.0.4fedora
rename to php-pecl-couchbase3 raise dependency on PHP 7.2 raise dependency on libcouchbase 3.0 drop dependency on igbinary extension
-rw-r--r--php-pecl-couchbase3.spec39
1 files changed, 19 insertions, 20 deletions
diff --git a/php-pecl-couchbase3.spec b/php-pecl-couchbase3.spec
index a91d8ff..a60461a 100644
--- a/php-pecl-couchbase3.spec
+++ b/php-pecl-couchbase3.spec
@@ -1,7 +1,7 @@
-# Fedora spec file for php-pecl-couchbase2
+# Fedora spec file for php-pecl-couchbase3
# without SCL compatibility from:
#
-# remirepo spec file for php-pecl-couchbase2
+# remirepo spec file for php-pecl-couchbase3
#
# Copyright (c) 2013-2020 Remi Collet
# License: CC-BY-SA
@@ -15,33 +15,31 @@
%global pecl_name couchbase
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
-# After 20-tokenizer.ini, 40-igbinary and 40-json
+# After 20-tokenizer.ini, 40-json
%global ini_name 50-%{pecl_name}.ini
%global libbuildver %(pkg-config --silence-errors --modversion libcouchbase 2>/dev/null || echo 65536)
Summary: Couchbase Server PHP extension
-Name: php-pecl-couchbase2
-Version: 2.6.2
-Release: 2%{?dist}
+Name: php-pecl-couchbase3
+Version: 3.0.4
+Release: 1%{?dist}
License: PHP
URL: https://pecl.php.net/package/couchbase
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
BuildRequires: gcc
-BuildRequires: php-devel >= 5.6
+BuildRequires: php-devel >= 7.2
BuildRequires: php-pear
-BuildRequires: php-pecl-igbinary-devel
BuildRequires: php-json
BuildRequires: php-tokenizer
-BuildRequires: pkgconfig(libcouchbase) >= 2.9.5
+BuildRequires: pkgconfig(libcouchbase) >= 3
BuildRequires: fastlz-devel
BuildRequires: zlib-devel
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
Requires: php-json%{?_isa}
-Requires: php-igbinary%{?_isa}
Requires: php-tokenizer%{?_isa}
Requires: libcouchbase%{?_isa} >= %{libbuildver}
@@ -50,16 +48,12 @@ Provides: php-%{pecl_name}%{?_isa} = %{version}
Provides: php-pecl(%{pecl_name}) = %{version}
Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
# Was renamed
-Obsoletes: php-pecl-couchbase < 2
+Obsoletes: php-pecl-couchbase < 3
Provides: php-pecl-couchbase = %{version}
Provides: php-pecl-couchbase%{?_isa} = %{version}
-
-
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter private shared
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
+Obsoletes: php-pecl-couchbase2 < 3
+Provides: php-pecl-couchbase2 = %{version}
+Provides: php-pecl-couchbase2%{?_isa} = %{version}
%description
@@ -153,7 +147,6 @@ done
: minimal NTS load test
%{__php} -n \
-d extension=tokenizer.so \
- -d extension=igbinary.so \
-d extension=json.so \
-d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
-m | grep %{pecl_name}
@@ -162,7 +155,6 @@ done
: minimal ZTS load test
%{__ztsphp} -n \
-d extension=tokenizer.so \
- -d extension=igbinary.so \
-d extension=json.so \
-d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
-m | grep %{pecl_name}
@@ -185,6 +177,13 @@ done
%changelog
+* Mon Nov 16 2020 Remi Collet <remi@remirepo.net> - 3.0.4-1
+- update to 3.0.4
+- rename to php-pecl-couchbase3
+- raise dependency on PHP 7.2
+- raise dependency on libcouchbase 3.0
+- drop dependency on igbinary extension
+
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild