From 9f3ae057224ab6a1f0268b28ff2a24814cfba8c7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Jan 2023 09:17:42 +0100 Subject: update to 0.12.1 --- PHPINFO | 2 +- REFLECTION | 2 +- php-zstd.spec | 18 ++++++++++-------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/PHPINFO b/PHPINFO index af9bd71..7677966 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,6 +2,6 @@ zstd Zstd support => enabled -Extension Version => 0.12.0 +Extension Version => 0.12.1 Interface Version => 1.5.2 APCu serializer ABI => 0 diff --git a/REFLECTION b/REFLECTION index 5b3c89c..9225e4e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #109 zstd version 0.12.0 ] { +Extension [ extension #106 zstd version 0.12.1 ] { - Dependencies { Dependency [ apcu (Optional) ] diff --git a/php-zstd.spec b/php-zstd.spec index 2288ca3..4c2f7d1 100644 --- a/php-zstd.spec +++ b/php-zstd.spec @@ -1,7 +1,7 @@ # remirepo spec file for php-zstd # -# Copyright (c) 2018-2022 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2018-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -11,7 +11,6 @@ %undefine _strict_symbol_defs_build %if 0%{?scl:1} -%global sub_prefix %{scl_prefix} %scl_package php-zstd %else %global pkg_name %{name} @@ -29,14 +28,14 @@ %global buildver %(pkg-config --silence-errors --modversion libzstd 2>/dev/null || echo 65536) Summary: Zstandard extension -Name: %{?sub_prefix}php-%{pecl_name} -Version: 0.12.0 +Name: %{?scl_prefix}php-%{pecl_name} +Version: 0.12.1 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %if %{with libzstd} License: MIT %else -# bundled library is BSD -License: MIT and BSD +# bundled library is BSD-3-Clause +License: MIT AND BSD-3-Clause %endif URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz @@ -186,7 +185,7 @@ cd NTS --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ --modules | grep '^%{pecl_name}$' -%if "%{php_version}" > "7.0" +%if %{with apcu} : Check that apcu is aware of zstd serializer %{__php} --no-php-ini \ --define extension=apcu.so \ @@ -246,6 +245,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \ %changelog +* Mon Jan 23 2023 Remi Collet - 0.12.1-1 +- update to 0.12.1 + * Tue Nov 22 2022 Remi Collet - 0.12.0-1 - update to 0.12.0 -- cgit