summaryrefslogtreecommitdiffstats
path: root/php-pecl-protobuf.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-09 08:02:44 +0100
committerRemi Collet <remi@remirepo.net>2020-11-09 08:02:44 +0100
commit14bb07db224f6e39932fefd304ff337438f3e57e (patch)
treeedef3fa9ac9c6db091ae316d4807bff654659a1a /php-pecl-protobuf.spec
parentbd44842279eac470b793c311599922b573cffcb8 (diff)
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
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r--php-pecl-protobuf.spec17
1 files changed, 13 insertions, 4 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 3.13.0.1-1
- update to 3.13.0.1