From 0226e1053903de87d8040904d15d1a07ddf12519 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 15 Aug 2020 07:47:07 +0200 Subject: update to 3.13.0 raise dependency on PHP 7 open https://github.com/protocolbuffers/protobuf/issues/7812 --- php-pecl-protobuf.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'php-pecl-protobuf.spec') diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec index 02a3a54..b76f19b 100644 --- a/php-pecl-protobuf.spec +++ b/php-pecl-protobuf.spec @@ -17,12 +17,8 @@ %global pecl_name protobuf %global with_zts 0 -%if "%{php_version}" < "5.6" -%global ini_name %{pecl_name}.ini -%else %global ini_name 40-%{pecl_name}.ini -%endif -%global upstream_version 3.12.4 +%global upstream_version 3.13.0 #global upstream_prever RC2 Summary: Mechanism for serializing structured data @@ -34,7 +30,7 @@ URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel >= 5.5.9 +BuildRequires: %{?scl_prefix}php-devel >= 7.0.0 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -94,6 +90,9 @@ sed -e 's/role="test"/role="src"/' \ cd NTS +# See https://github.com/protocolbuffers/protobuf/issues/7812 +sed -e s/704000/70400/ -i message.c + # Sanity check, really often broken extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -213,6 +212,11 @@ fi %changelog +* Sat Aug 15 2020 Remi Collet - 3.13.0-1 +- update to 3.13.0 +- raise dependency on PHP 7 +- open https://github.com/protocolbuffers/protobuf/issues/7812 + * Wed Jul 29 2020 Remi Collet - 3.12.4-1 - update to 3.12.4 (no change) -- cgit