summaryrefslogtreecommitdiffstats
path: root/php-pecl-rdkafka5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-rdkafka5.spec')
-rw-r--r--php-pecl-rdkafka5.spec17
1 files changed, 7 insertions, 10 deletions
diff --git a/php-pecl-rdkafka5.spec b/php-pecl-rdkafka5.spec
index 930a5f9..4c7ed08 100644
--- a/php-pecl-rdkafka5.spec
+++ b/php-pecl-rdkafka5.spec
@@ -20,15 +20,12 @@
Summary: Kafka client based on librdkafka
Name: %{?sub_prefix}php-pecl-%{pecl_name}5
-Version: 5.0.0
-Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 5.0.1
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: MIT
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Source1: https://raw.githubusercontent.com/arnaud-lb/php-rdkafka/%{version}/tests/integration-tests-check.php
-Patch0: %{pecl_name}-php81.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: librdkafka1php-devel >= 1.6
@@ -95,9 +92,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1
-cp %{SOURCE1} tests
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_RDKAFKA_VERSION/{s/.* "//;s/".*$//;p}' php_rdkafka.h)
if test "x${extver}" != "x%{version}"; then
@@ -198,10 +192,9 @@ cd ../ZTS
: Upstream test suite for NTS extension
cd ../NTS
-TEST_PHP_EXECUTABLE=%{__php} \
TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
REPORT_EXIT_STATUS=1 \
-%{__php} -n run-tests.php -q --show-diff
+%{__php} -n run-tests.php -P -q --show-diff
%files
@@ -219,6 +212,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Nov 19 2021 Remi Collet <remi@remirepo.net> - 5.0.1-1
+- update to 5.0.1
+- drop patch merged upstream
+
* Fri Sep 10 2021 Remi Collet <remi@remirepo.net> - 5.0.0-4
- run upstream test suite during the build
(lot of tests are skipped as no configured server)