summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO5
-rw-r--r--REFLECTION9
-rw-r--r--php-lz4.spec20
3 files changed, 21 insertions, 13 deletions
diff --git a/PHPINFO b/PHPINFO
index 02fd957..1f30730 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,6 @@
lz4
LZ4 support => enabled
-Extension Version => 0.4.4
-LZ4 headers Version => 1.9.4
-LZ4 library Version => 1.9.4
+Extension Version => 0.5.0
+LZ4 Version => 1.10.0
LZ4 APCu serializer ABI => 0
diff --git a/REFLECTION b/REFLECTION
index 9ada60d..e8ffbd2 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,13 +1,14 @@
-Extension [ <persistent> extension #84 lz4 version 0.4.4 ] {
+Extension [ <persistent> extension #92 lz4 version 0.5.0 ] {
- Dependencies {
Dependency [ apcu (Optional) ]
}
- - Constants [3] {
- Constant [ int LZ4_CLEVEL_MIN ] { 3 }
+ - Constants [4] {
+ Constant [ int LZ4_CLEVEL_MIN ] { 2 }
Constant [ int LZ4_CLEVEL_MAX ] { 12 }
- Constant [ int LZ4_VERSION ] { 10904 }
+ Constant [ int LZ4_VERSION_NUMBER ] { 11000 }
+ Constant [ string LZ4_VERSION_TEXT ] { 1.10.0 }
}
- Functions {
diff --git a/php-lz4.spec b/php-lz4.spec
index 9771762..4d2b45f 100644
--- a/php-lz4.spec
+++ b/php-lz4.spec
@@ -1,8 +1,8 @@
# remirepo spec file for php-lz4
#
-# Copyright (c) 2016-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2016-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -22,11 +22,13 @@
%bcond_with liblz4
%endif
-%global gh_commit 4835fb5eb2bba6e1a30b8573bca2a5b855b08f64
+%global gh_commit 83c6409ae7a98c91ce7419e9028f49ce6bf94863
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner kjdev
%global gh_project php-ext-lz4
%global pecl_name lz4
+%global pie_vend kjdev
+%global pie_proj lz4
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
%global sources %{gh_project}-%{gh_commit}
@@ -34,7 +36,7 @@
Summary: LZ4 Extension for PHP
Name: %{?scl_prefix}php-lz4
-Version: 0.4.4
+Version: 0.5.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
Group: Development/Languages
@@ -45,7 +47,7 @@ Source1: makesrc.sh
BuildRequires: %{?dtsprefix}gcc
%if %{with apcu}
-BuildRequires: %{?scl_prefix}php-devel > 7
+BuildRequires: %{?scl_prefix}php-devel >= 5.6
BuildRequires: %{?scl_prefix}php-pecl-apcu-devel
%else
BuildRequires: %{?scl_prefix}php-devel
@@ -58,6 +60,8 @@ Provides: bundled(lz4) = 1.10.0
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
+Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
+Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -192,6 +196,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Jul 15 2025 Remi Collet <remi@remirepo.net> - 0.5.0-1
+- update to 0.5.0
+- re-license spec file to CECILL-2.1
+
* Fri Nov 8 2024 Remi Collet <remi@remirepo.net> - 0.4.4-1
- update to 0.4.4 (no change)
- update bundled libliz4 to 0.10.0