diff options
Diffstat (limited to 'php-pecl-grpc.spec')
-rw-r--r-- | php-pecl-grpc.spec | 9 |
1 files changed, 8 insertions, 1 deletions
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 <pgreco@centosproject.org> - 1.22.0-2 +- Fix build on armhfp, pthread_atfork not exported + * Thu Jul 4 2019 Remi Collet <remi@remirepo.net> - 1.22.0-1 - Update to 1.22.0 |