From 23ceb3d2d83be4f037d607bc07c92c9b046269eb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 4 Nov 2024 14:49:20 +0100 Subject: update to 6.0.5 --- php-pecl-rdkafka6.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'php-pecl-rdkafka6.spec') diff --git a/php-pecl-rdkafka6.spec b/php-pecl-rdkafka6.spec index 59440d1..d52df33 100644 --- a/php-pecl-rdkafka6.spec +++ b/php-pecl-rdkafka6.spec @@ -31,7 +31,7 @@ %global buildver %(pkg-config --silence-errors --modversion rdkafka 2>/dev/null || echo 65536) %endif -%global upstream_version 6.0.4 +%global upstream_version 6.0.5 #global upstream_prever RC2 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure @@ -39,14 +39,11 @@ Summary: Kafka client based on librdkafka Name: %{?scl_prefix}php-pecl-%{pecl_name}6 Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?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}-%{upstream_version}%{?upstream_prever}.tgz -# See https://github.com/arnaud-lb/php-rdkafka/issues/562 -Patch0: upstream.patch - BuildRequires: make BuildRequires: %{?dtsprefix}gcc %if %{with move_to_opt} @@ -101,8 +98,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} -%patch -P0 -p1 -b .up - # Sanity check, really often broken extver=$(sed -n '/#define PHP_RDKAFKA_VERSION/{s/.* "//;s/".*$//;p}' php_rdkafka.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -224,6 +219,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Nov 4 2024 Remi Collet - 6.0.5-1 +- update to 6.0.5 + * Fri Oct 25 2024 Remi Collet - 6.0.4-2 - add upstream patch for old PHP versions -- cgit