summaryrefslogtreecommitdiffstats
path: root/php-pecl-simple-kafka-client.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-04-13 07:58:07 +0200
committerRemi Collet <remi@remirepo.net>2021-04-13 07:58:07 +0200
commit0e1a7520db55334507eadf5c4ac86c49c9eba553 (patch)
treeca7cce76a369942fc4cb19a1c62b4a9221e02ec4 /php-pecl-simple-kafka-client.spec
parent612c5f548cf85ca4cc68f5ee97f0c2d3254e2d5e (diff)
update to 0.1.2
drop patches merged upstream
Diffstat (limited to 'php-pecl-simple-kafka-client.spec')
-rw-r--r--php-pecl-simple-kafka-client.spec14
1 files changed, 6 insertions, 8 deletions
diff --git a/php-pecl-simple-kafka-client.spec b/php-pecl-simple-kafka-client.spec
index 5566001..ea55831 100644
--- a/php-pecl-simple-kafka-client.spec
+++ b/php-pecl-simple-kafka-client.spec
@@ -20,15 +20,12 @@
Summary: Kafka client based on librdkafka
Name: %{?sub_prefix}php-pecl-simple-kafka-client
-Version: 0.1.1
+Version: 0.1.2
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: BSD
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Patch0: %{pecl_name}-version.patch
-Patch1: %{pecl_name}-skip.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: librdkafka1php-devel >= 1.6
@@ -77,11 +74,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1
-%patch1 -p1
-
# Sanity check, really often broken
-extver=$(sed -n '/#define PHP_KAFKA_VERSION/{s/.* "//;s/".*$//;p}' php_simple_kafka_client_int.h)
+extver=$(sed -n '/#define PHP_SIMPLE_KAFKA_CLIENT_VERSION/{s/.* "//;s/".*$//;p}' php_simple_kafka_client_int.h)
if test "x${extver}" != "x%{version}"; then
: Error: Upstream extension version is ${extver}, expecting %{version}.
exit 1
@@ -201,6 +195,10 @@ cd ../ZTS
%changelog
+* Tue Apr 13 2021 Remi Collet <remi@remirepo.net> - 0.1.2-1
+- update to 0.1.2
+- drop patches merged upstream
+
* Mon Apr 12 2021 Remi Collet <remi@remirepo.net> - 0.1.1-1
- initial package, version 0.1.1 (stable)
- open https://github.com/php-kafka/php-simple-kafka-client/pull/35 - version