diff options
author | Remi Collet <remi@remirepo.net> | 2018-07-06 13:27:16 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-07-06 13:27:16 +0200 |
commit | 83c79712492441dab371a35c86f751d42c91f59e (patch) | |
tree | 5388d61e9a27775eb2ee27ea14abd9c703399e07 /php-pecl-protobuf.spec | |
parent | dea588ef0687927c305efb7961134aca4454caa0 (diff) |
add patch for PHP 7.3 from https://github.com/google/protobuf/pull/4873
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r-- | php-pecl-protobuf.spec | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec index 27d0767..40da3a8 100644 --- a/php-pecl-protobuf.spec +++ b/php-pecl-protobuf.spec @@ -26,12 +26,14 @@ Summary: Mechanism for serializing structured data Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 3.6.0 -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +Patch0: https://patch-diff.githubusercontent.com/raw/google/protobuf/pull/4873.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 5.5.9 BuildRequires: %{?scl_prefix}php-pear @@ -97,6 +99,8 @@ sed -e 's/role="test"/role="src"/' \ cd NTS +%patch0 -p5 -b .pr4873 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h) if test "x${extver}" != "x%{version}%{?prever}"; then @@ -213,6 +217,10 @@ fi %changelog +* Fri Jul 6 2018 Remi Collet <remi@remirepo.net> - 3.6.0-2 +- add patch for PHP 7.3 from + https://github.com/google/protobuf/pull/4873 + * Thu Jun 7 2018 Remi Collet <remi@remirepo.net> - 3.6.0-1 - update to 3.6.0 |