diff options
Diffstat (limited to 'php-pecl-grpc.spec')
-rw-r--r-- | php-pecl-grpc.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index dde8322..89d6caf 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -27,12 +27,14 @@ 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: MIT Group: Development/Languages 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 + BuildRequires: %{?scl_prefix}php-devel > 5.5 BuildRequires: %{?scl_prefix}php-pear BuildRequires: zlib-devel @@ -99,6 +101,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .rpm # Sanity check, really often broken extver=$(sed -n '/PHP_GRPC_VERSION/{s/.* "//;s/".*$//;p}' src/php/ext/grpc/version.h) @@ -218,6 +221,9 @@ cd ../ZTS %changelog +* Tue Aug 22 2017 Remi Collet <remi@remirepo.net> - 1.4.6-2 +- honour default RPM build options + * Thu Aug 17 2017 Remi Collet <remi@remirepo.net> - 1.4.6-1 - Update to 1.4.6 (stable) |