From 61e61e419d19562cb1cec9c6e4857db88f06988c Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Thu, 18 Jul 2019 12:13:07 +0000 Subject: pthread_atfork is not exported in armhfp, avoid it --- php-pecl-grpc.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-pecl-grpc.spec') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 9e68507..e110e04 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -30,12 +30,13 @@ Summary: General RPC framework Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -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: ASL 2.0 URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz Patch0: %{pecl_name}-build.patch +Patch1: %{pecl_name}-noatfork.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?dtsprefix}gcc-c++ @@ -104,6 +105,9 @@ sed -e 's/role="test"/role="src"/' \ cd NTS %patch0 -p1 -b .rpm +%ifarch %{arm} +%patch1 -p2 -b .noatfork +%endif # Sanity check, really often broken extver=$(sed -n '/PHP_GRPC_VERSION/{s/.* "//;s/".*$//;p}' src/php/ext/grpc/version.h) @@ -227,6 +231,9 @@ cd ../ZTS %changelog +* Thu Jul 18 2019 Pablo Greco - 1.22.0-2 +- Fix build on armhfp, pthread_atfork not exported + * Thu Jul 4 2019 Remi Collet - 1.22.0-1 - Update to 1.22.0 -- cgit