From 63cf7693a03a3a3cfb1d1c6faa8c0b9c332000fe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 19 Dec 2023 10:37:08 +0100 Subject: update to 2.0.0 drop support for PHP 7.4 --- PHPINFO | 2 +- REFLECTION | 4 ++-- php-pecl-jsonpath.spec | 8 ++++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/PHPINFO b/PHPINFO index fd87588..e8d3413 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,4 +2,4 @@ jsonpath jsonpath support => enabled -jsonpath version => 1.0.1 +jsonpath version => 2.0.0 diff --git a/REFLECTION b/REFLECTION index 87cddbe..097af5f 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #74 jsonpath version 1.0.1 ] { +Extension [ extension #75 jsonpath version 2.0.0 ] { - Classes [2] { Class [ class JsonPath\JsonPath ] { @@ -22,7 +22,7 @@ Extension [ extension #74 jsonpath version 1.0.1 ] { Parameter #0 [ array $data ] Parameter #1 [ string $expression ] } - - Return [ array|bool ] + - Return [ array|false ] } } } diff --git a/php-pecl-jsonpath.spec b/php-pecl-jsonpath.spec index f919eb1..c6bdbb0 100644 --- a/php-pecl-jsonpath.spec +++ b/php-pecl-jsonpath.spec @@ -19,7 +19,7 @@ Summary: Extract data using JSONPath notation Name: %{?scl_prefix}php-pecl-jsonpath -Version: 1.0.1 +Version: 2.0.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} @@ -27,7 +27,7 @@ Source0: https://pecl.php.net/get/%{sources}.tgz BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel >= 7.4 +BuildRequires: %{?scl_prefix}php-devel >= 8.0 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -177,6 +177,10 @@ TEST_PHP_ARGS="-n -d extension=$PWD/../NTS/modules/%{pecl_name}.so" \ %changelog +* Tue Dec 19 2023 Remi Collet - 2.0.0-1 +- update to 2.0.0 +- drop support for PHP 7.4 + * Thu Dec 14 2023 Remi Collet - 1.0.1-1 - update to 1.0.1 - drop patch merged upstream -- cgit