From 14bb07db224f6e39932fefd304ff337438f3e57e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Nov 2020 08:02:44 +0100 Subject: update to 3.14.0RC1 open https://github.com/protocolbuffers/protobuf/issues/8016 missing files in pecl package open https://github.com/protocolbuffers/protobuf/issues/8017 bad version reported --- php-pecl-protobuf.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'php-pecl-protobuf.spec') diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec index 6be7911..388b90a 100644 --- a/php-pecl-protobuf.spec +++ b/php-pecl-protobuf.spec @@ -18,8 +18,8 @@ %global pecl_name protobuf %global with_zts 0 %global ini_name 40-%{pecl_name}.ini -%global upstream_version 3.13.0.1 -#global upstream_prever RC2 +%global upstream_version 3.14.0 +%global upstream_prever RC1 Summary: Mechanism for serializing structured data Name: %{?sub_prefix}php-pecl-%{pecl_name} @@ -29,6 +29,8 @@ License: BSD URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +Source1: https://raw.githubusercontent.com/protocolbuffers/protobuf/3.14.x/php/ext/google/protobuf/wkt.inc + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear @@ -87,8 +89,8 @@ 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 +cp %{SOURCE1} . +sed -e 's/"3.13.0"/PHP_PROTOBUF_VERSION/' -i protobuf.c # Sanity check, really often broken extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h) @@ -209,6 +211,13 @@ fi %changelog +* Mon Nov 9 2020 Remi Collet - 3.14.0~RC1-1 +- update to 3.14.0RC1 +- open https://github.com/protocolbuffers/protobuf/issues/8016 + missing files in pecl package +- open https://github.com/protocolbuffers/protobuf/issues/8017 + bad version reported + * Fri Oct 9 2020 Remi Collet - 3.13.0.1-1 - update to 3.13.0.1 -- cgit