diff options
Diffstat (limited to 'php-pecl-rdkafka4.spec')
-rw-r--r-- | php-pecl-rdkafka4.spec | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/php-pecl-rdkafka4.spec b/php-pecl-rdkafka4.spec index d5fd8dc..1c05f3f 100644 --- a/php-pecl-rdkafka4.spec +++ b/php-pecl-rdkafka4.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-pecl-rdkafka4 # -# Copyright (c) 2015-2020 Remi Collet +# Copyright (c) 2015-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -26,14 +26,11 @@ License: MIT URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz -# git checkout master; git diff 4.1.2 -- *h *.c tests/ >/tmp/pp -# + cleanup (version, produce_consume_transactional.phpt) -Patch0: %{pecl_name}-php8.patch - -BuildRequires: %{?dtsprefix}gcc BuildRequires: make +BuildRequires: %{?dtsprefix}gcc BuildRequires: librdkafka1php-devel BuildRequires: %{?scl_prefix}php-devel >= 5.6 +BuildRequires: %{?scl_prefix}php-devel < 8 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -89,10 +86,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%if "%{php_version}" > "8.0" -%patch0 -p1 -b .up -%endif - # 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 |