From 20a0380f9340bfa9aac2a20049e180a4819bd882 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 28 Feb 2026 07:40:04 +0100 Subject: update to 2.3.0 --- PHPINFO | 4 +++- REFLECTION | 4 ++-- composer.json | 28 ++++++++++++++++++++++++++++ php-orieg-judy.spec | 11 ++++++----- 4 files changed, 39 insertions(+), 8 deletions(-) create mode 100644 composer.json diff --git a/PHPINFO b/PHPINFO index 69ed409..78923bb 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,9 @@ judy Judy support => enabled -PHP Judy version => 2.2.0 +PHP Judy version => 2.3.0 +sizeof(Word_t) => 8 +sizeof(Pvoid_t) => 8 Directive => Local Value => Master Value judy.string.maxlength => 65536 => 65536 diff --git a/REFLECTION b/REFLECTION index 1178889..6d3566d 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #90 judy version 2.2.0 ] { +Extension [ extension #89 judy version 2.3.0 ] { - Dependencies { Dependency [ spl (Required) ] @@ -11,7 +11,7 @@ Extension [ extension #90 judy version 2.2.0 ] { } - Constants [1] { - Constant [ string JUDY_VERSION ] { 2.2.0 } + Constant [ string JUDY_VERSION ] { 2.3.0 } } - Functions { diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..4e06337 --- /dev/null +++ b/composer.json @@ -0,0 +1,28 @@ +{ + "name": "orieg/judy", + "type": "php-ext", + "description": "PHP Judy implements sparse dynamic arrays (aka Judy Arrays).", + "license": "PHP-3.01", + "homepage": "https://github.com/orieg/php-judy", + "authors": [ + { + "name": "Nicolas Brousse", + "email": "nicolas@brousse.info", + "homepage": "https://nicolas.brousse.info", + "role": "Developer" + } + ], + "require": { + "php": ">=8.0.0" + }, + "php-ext": { + "extension-name": "judy", + "configure-options": [ + { + "name": "with-judy", + "description": "Specify the path to the libJudy installation prefix", + "needs-value": true + } + ] + } +} diff --git a/php-orieg-judy.spec b/php-orieg-judy.spec index ecfff86..183b871 100644 --- a/php-orieg-judy.spec +++ b/php-orieg-judy.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-orieg-judy # -# SPDX-FileCopyrightText: Copyright 2025 Remi Collet +# SPDX-FileCopyrightText: Copyright 2025-2026 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # @@ -18,7 +18,7 @@ # Extension %global ext_name judy %global ini_name 40-%{ext_name}.ini -%global upstream_version 2.2.0 +%global upstream_version 2.3.0 #global upstream_prever RC1 # PIE / packagist %global pie_vend orieg @@ -27,7 +27,7 @@ %global gh_vend orieg %global gh_proj php-judy %global forgeurl https://github.com/%{gh_vend}/%{gh_proj} -#global commit afe5de4ce52bb2b80af565a6f297bf330a65d0d8 +#global commit 6065ed4fb66d3ecfee41fb21a78fbcdddd3efecb %global tag v%{upstream_version}%{?upstream_prever} # for EL-8 to avoid TAG usage %global archivename %{gh_proj}-%{upstream_version}%{?upstream_prever} @@ -84,8 +84,6 @@ These are the files needed to compile programs using %{name}. %prep %forgesetup -rm -r test-package judy-2.2.0 *.dep - : Sanity check, really often broken extver=$(sed -n '/#define PHP_JUDY_VERSION/{s/.* "//;s/".*$//;p}' php_judy.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -145,6 +143,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}/%{php_extdir}/%{ext_name}.so" \ %changelog +* Sat Feb 28 2026 Remi Collet - 2.3.0-1 +- update to 2.3.0 + * Fri Aug 29 2025 Remi Collet - 2.2.0-1 - initial package - obsoletes php-pecl-judy -- cgit