diff options
| -rw-r--r-- | PHPINFO | 3 | ||||
| -rw-r--r-- | REFLECTION | 15 | ||||
| -rw-r--r-- | php-pecl-msgpack.spec | 19 |
3 files changed, 21 insertions, 16 deletions
@@ -4,7 +4,7 @@ msgpack MessagePack Support => enabled Session Support => enabled MessagePack APCu Serializer ABI => 0 -extension Version => 3.0.0 +extension Version => 3.0.1 header Version => 3.2.0 Directive => Local Value => Master Value @@ -13,3 +13,4 @@ msgpack.php_only => On => On msgpack.assoc => On => On msgpack.illegal_key_insert => Off => Off msgpack.use_str8_serialization => On => On +msgpack.force_f32 => Off => Off @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #87 msgpack version 3.0.0 ] { +Extension [ <persistent> extension #104 msgpack version 3.0.1 ] { - INI { Entry [ msgpack.error_display <ALL> ] @@ -16,11 +16,15 @@ Extension [ <persistent> extension #87 msgpack version 3.0.0 ] { Entry [ msgpack.use_str8_serialization <ALL> ] Current = '1' } + Entry [ msgpack.force_f32 <ALL> ] + Current = '0' + } } - - Constants [2] { - Constant [ int MESSAGEPACK_OPT_PHPONLY ] { -1001 } - Constant [ int MESSAGEPACK_OPT_ASSOC ] { -1002 } + - Constants [3] { + Constant [ <persistent> int MESSAGEPACK_OPT_PHPONLY ] { -1001 } + Constant [ <persistent> int MESSAGEPACK_OPT_ASSOC ] { -1002 } + Constant [ <persistent> int MESSAGEPACK_OPT_FORCE_F32 ] { -1003 } } - Functions { @@ -55,9 +59,10 @@ Extension [ <persistent> extension #87 msgpack version 3.0.0 ] { - Classes [2] { Class [ <internal:msgpack> class MessagePack ] { - - Constants [2] { + - Constants [3] { Constant [ public int OPT_PHPONLY ] { -1001 } Constant [ public int OPT_ASSOC ] { -1002 } + Constant [ public int OPT_FORCE_F32 ] { -1003 } } - Static properties [0] { diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec index 2472d37..50ea47d 100644 --- a/php-pecl-msgpack.spec +++ b/php-pecl-msgpack.spec @@ -14,14 +14,12 @@ %global pecl_name msgpack %global pie_vend msgpack %global pie_proj msgpack-php -%global gh_commit 943d27267fbf6da6b4d225f344f4731aec0c671b -%global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner msgpack %global gh_project msgpack-php %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 3.0.0 +%global upstream_version 3.0.1 #global upstream_prever RC1 %global sources %{archivename} %global _configure ../%{sources}/configure @@ -30,9 +28,6 @@ %global gh_vend msgpack %global gh_proj msgpack-php %global forgeurl https://github.com/%{gh_vend}/%{gh_proj} -%global tag msgpack-%{upstream_version}%{?upstream_prever} -# for EL-8 to avoid TAG usage -%global archivename %{gh_proj}-msgpack-%{upstream_version}%{?upstream_prever} # to use system library (only 3.1.0 in Fedora) %bcond_with msgpack @@ -45,7 +40,7 @@ Name: %{?scl_prefix}php-pecl-msgpack License: BSD-3-Clause Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} %forgemeta -Release: 5%{?dist} +Release: 1%{?dist} URL: %{forgeurl} Source0: %{forgesource} @@ -111,8 +106,8 @@ rm -rf msgpack # Sanity check, really often broken extver=$(sed -n '/#define PHP_MSGPACK_VERSION/{s/.* "//;s/".*$//;p}' php_msgpack.h) -if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:-dev}"; then - : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:-dev}. +if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then + : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever} exit 1 fi cd .. @@ -134,6 +129,7 @@ extension = %{pecl_name}.so ;msgpack.assoc = On ;msgpack.illegal_key_insert = Off ;msgpack.use_str8_serialization = On +;msgpack.force_f32 = Off EOF @@ -208,7 +204,7 @@ TEST_PHP_ARGS="-n -d extension=apcu.so -d extension=%{buildroot}%{php_extdir}/%{ %files %license %{sources}/LICENSE -#doc %%{sources}/composer.json +%doc %{sources}/composer.json %doc %{sources}/README.md %doc %{sources}/CREDITS @@ -231,6 +227,9 @@ TEST_PHP_ARGS="-n -d extension=apcu.so -d extension=%{buildroot}%{php_extdir}/%{ %changelog +* Tue Jun 2 2026 Remi Collet <remi@remirepo.net> - 3.0.1-1 +- update to 3.0.1 + * Thu Mar 12 2026 Remi Collet <remi@remirepo.net> - 3.0.0-5 - drop pear/pecl dependency - sources from github |
