summaryrefslogtreecommitdiffstats
path: root/php-pecl-protobuf.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-12-14 08:31:12 +0100
committerRemi Collet <remi@remirepo.net>2017-12-14 08:31:12 +0100
commit7c8634aff23827ad067965d96dad7959e0a64f0d (patch)
tree65494b2bdc3be10b4cd811111bbf310b707f4891 /php-pecl-protobuf.spec
parent143b0995cb280a4335db0a721e8e2805124d8c82 (diff)
add upstream patch to drop timelib_update_ts need
Diffstat (limited to 'php-pecl-protobuf.spec')
-rw-r--r--php-pecl-protobuf.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec
index 2d25d67..df92870 100644
--- a/php-pecl-protobuf.spec
+++ b/php-pecl-protobuf.spec
@@ -28,6 +28,8 @@ 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/4034.patch
+
BuildRequires: %{?scl_prefix}php-devel >= 5.5.9
BuildRequires: %{?scl_prefix}php-pear
@@ -98,6 +100,7 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
+%patch0 -p5 -b .upstream
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_PROTOBUF_VERSION/{s/.* "//;s/".*$//;p}' protobuf.h)
@@ -215,6 +218,9 @@ fi
%changelog
+* Thu Dec 14 2017 Remi Collet <remi@remirepo.net> - 3.5.0.1-1
+- add upstream patch to drop timelib_update_ts need
+
* Thu Dec 7 2017 Remi Collet <remi@remirepo.net> - 3.5.0.1-1
- Update to 3.5.0.1 (still broken)