diff options
author | Remi Collet <remi@remirepo.net> | 2020-08-15 07:47:07 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-08-15 07:47:07 +0200 |
commit | 0226e1053903de87d8040904d15d1a07ddf12519 (patch) | |
tree | 46f4bea03b3f2f131f2143b787af7a2feb539b7f /php-pecl-protobuf.spec | |
parent | 7a2d719d495c86a33c7fdebad1a8f74e76af4e20 (diff) |
update to 3.13.0
raise dependency on PHP 7
open https://github.com/protocolbuffers/protobuf/issues/7812
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r-- | php-pecl-protobuf.spec | 16 |
1 files changed, 10 insertions, 6 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 3.12.4-1 - update to 3.12.4 (no change) |