summaryrefslogtreecommitdiffstats
path: root/php-pecl-rdkafka6.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-11-04 14:49:20 +0100
committerRemi Collet <remi@php.net>2024-11-04 14:49:20 +0100
commit23ceb3d2d83be4f037d607bc07c92c9b046269eb (patch)
treed319525968699e4c6f84d4118f69eebc1728aea5 /php-pecl-rdkafka6.spec
parent66791bf9525e1e032736f15e927b814256370997 (diff)
update to 6.0.5HEADmaster
Diffstat (limited to 'php-pecl-rdkafka6.spec')
-rw-r--r--php-pecl-rdkafka6.spec12
1 files changed, 5 insertions, 7 deletions
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 <remi@remirepo.net> - 6.0.5-1
+- update to 6.0.5
+
* Fri Oct 25 2024 Remi Collet <remi@remirepo.net> - 6.0.4-2
- add upstream patch for old PHP versions