diff options
Diffstat (limited to 'php-pecl-rdkafka.spec')
-rw-r--r-- | php-pecl-rdkafka.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/php-pecl-rdkafka.spec b/php-pecl-rdkafka.spec index 2ae8220..90e4f38 100644 --- a/php-pecl-rdkafka.spec +++ b/php-pecl-rdkafka.spec @@ -21,11 +21,13 @@ Summary: Kafka client based on librdkafka Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 3.1.1 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: MIT URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: https://github.com/arnaud-lb/php-rdkafka/commit/15bc0173ef7b06ef16e477e8b12c3eac5bcf2abc.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: librdkafka-devel > 0.8 BuildRequires: %{?scl_prefix}php-devel > 5.6 @@ -91,6 +93,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .up # Sanity check, really often broken extver=$(sed -n '/#define PHP_RDKAFKA_VERSION/{s/.* "//;s/".*$//;p}' php_rdkafka.h) @@ -206,6 +209,9 @@ cd ../ZTS %changelog +* Mon Jul 8 2019 Remi Collet <remi@remirepo.net> - 3.1.1-2 +- add upstream patch to fix PHP 5.6 build + * Wed Jul 3 2019 Remi Collet <remi@remirepo.net> - 3.1.1-1 - update to 3.1.1 - open https://github.com/arnaud-lb/php-rdkafka/issues/235 |