From dd8cb7df24bac5e558d26f7f00b178902863b99c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Oct 2025 07:22:32 +0200 Subject: update to 0.4.21 --- PHPINFO | 2 +- REFLECTION | 2 +- composer.json | 42 +++++++++++++++++++++++++++++++++++++++ php-noisebynorthwest-php-spx.spec | 7 +++++-- 4 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 composer.json diff --git a/PHPINFO b/PHPINFO index 5d472b0..6c34b11 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ SPX SPX Support => enabled -SPX Version => 0.4.20 +SPX Version => 0.4.21 Directive => Local Value => Master Value spx.debug => 0 => 0 diff --git a/REFLECTION b/REFLECTION index 036d9f0..90372fd 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #142 SPX version 0.4.20 ] { +Extension [ extension #147 SPX version 0.4.21 ] { - INI { Entry [ spx.debug ] diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..6c9b4ed --- /dev/null +++ b/composer.json @@ -0,0 +1,42 @@ +{ + "name": "noisebynorthwest/php-spx", + "type": "php-ext", + "license": "GPL-3.0-or-later", + "description": "A simple & straight-to-the-point PHP profiling extension with its built-in web UI", + "keywords": ["profiler", "profiling", "performance", "debugging", "php", "extension"], + "homepage": "https://github.com/NoiseByNorthwest/php-spx", + "support": { + "issues": "https://github.com/NoiseByNorthwest/php-spx/issues", + "source": "https://github.com/NoiseByNorthwest/php-spx" + }, + "authors": [ + { + "name": "Sylvain Lassaut", + "email": "NoiseByNorthwest@gmail.com", + "role": "Developer" + } + ], + "require": { + "php": ">=5.4.0 <8.5.0" + }, + "php-ext": { + "extension-name": "spx", + "support-zts": true, + "support-nts": true, + "configure-options": [ + { + "name": "enable-spx", + "description": "Enable SPX extension" + }, + { + "name": "enable-spx-dev", + "description": "Compile SPX with debugging symbols" + }, + { + "name": "with-zlib-dir", + "description": "Set the path to ZLIB install prefix", + "needs-value": true + } + ] + } +} diff --git a/php-noisebynorthwest-php-spx.spec b/php-noisebynorthwest-php-spx.spec index b556c16..47b451c 100644 --- a/php-noisebynorthwest-php-spx.spec +++ b/php-noisebynorthwest-php-spx.spec @@ -14,7 +14,7 @@ # Extension %global ext_name spx %global ini_name 40-%{ext_name}.ini -%global upstream_version 0.4.20 +%global upstream_version 0.4.21 #global upstream_prever RC1 # PIE / packagist %global pie_vend noisebynorthwest @@ -23,7 +23,7 @@ %global gh_vend NoiseByNorthwest %global gh_proj php-spx %global forgeurl https://github.com/%{gh_vend}/%{gh_proj} -#global commit afe5de4ce52bb2b80af565a6f297bf330a65d0d8 +#global commit 06b9d7ec71d7a63805e1cc5047bab3412566876c %global tag v%{upstream_version}%{?upstream_prever} # for EL-8 to avoid TAG usage %global archivename %{gh_proj}-%{upstream_version}%{?upstream_prever} @@ -166,6 +166,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}/%{php_extdir}/%{ext_name}.so" \ %changelog +* Tue Oct 14 2025 Remi Collet - 0.4.21-1 +- update to 0.4.21 + * Thu Jul 3 2025 Remi Collet - 0.4.20-1 - update to 0.4.20 - drop patch merged upstream -- cgit