summaryrefslogtreecommitdiffstats
path: root/php-pecl-mysql-xdevapi.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-mysql-xdevapi.spec')
-rw-r--r--php-pecl-mysql-xdevapi.spec16
1 files changed, 10 insertions, 6 deletions
diff --git a/php-pecl-mysql-xdevapi.spec b/php-pecl-mysql-xdevapi.spec
index 954885b..ba8df6c 100644
--- a/php-pecl-mysql-xdevapi.spec
+++ b/php-pecl-mysql-xdevapi.spec
@@ -18,13 +18,13 @@
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name mysql_xdevapi
# Need work to find how to run upstream test suite
-%global with_tests 0%{?_with_tests:1}
+%bcond_with tests
# After 20-json, 20-mysqlnd
%global ini_name 40-%{pecl_name}.ini
Summary: MySQL database access functions
Name: %{?sub_prefix}php-pecl-mysql-xdevapi
-Version: 8.0.20
+Version: 8.0.21
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
@@ -38,11 +38,11 @@ BuildRequires: %{?scl_prefix}php-mysqlnd
BuildRequires: %{?scl_prefix}php-hash
BuildRequires: %{?scl_prefix}php-json
BuildRequires: %{?scl_prefix}php-pear
-BuildRequires: protobuf-devel
+BuildRequires: protobuf-devel > 3
BuildRequires: protobuf-c-devel
BuildRequires: boost-devel >= 1.53
BuildRequires: openssl-devel
-%if %{with_tests}
+%if %{with tests}
BuildRequires: community-mysql-server >= 5.7.12
BuildRequires: %{?scl_prefix}php-mysqli
%endif
@@ -65,7 +65,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
# Removed
Obsoletes: %{name}-devel < 8.0.2
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
+%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
@@ -227,7 +227,7 @@ cd ../ZTS
%endif
-%if %{with_tests}
+%if %{with tests}
cd ../NTS
RET=0
@@ -317,6 +317,10 @@ fi
%changelog
+* Mon Jul 13 2020 Remi Collet <remi@remirepo.net> - 8.0.21-1
+- update to 8.0.21
+- raise dependency on protobuf 3 (drop EL-7 compatibility)
+
* Tue Apr 28 2020 Remi Collet <remi@remirepo.net> - 8.0.20-1
- update to 8.0.20