diff options
author | Remi Collet <remi@remirepo.net> | 2019-08-27 08:47:50 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-08-27 08:47:50 +0200 |
commit | 4a06bd667aebdfc18bce46fb34da6bb97dd558fa (patch) | |
tree | 62d3e09a52284f8264e15f96e414bea707866931 | |
parent | 1cfd525c24e561d1d22c9e335ccf1be0b09734ef (diff) |
update to 0.3.6 with bundled liblz4 version 1.9.2
-rw-r--r-- | PHPINFO | 6 | ||||
-rw-r--r-- | REFLECTION | 4 | ||||
-rw-r--r-- | php-lz4.spec | 23 |
3 files changed, 23 insertions, 10 deletions
@@ -0,0 +1,6 @@ + +lz4 + +LZ4 support => enabled +Extension Version => 0.3.6 +LZ4 Version => 1.9.2 @@ -1,9 +1,9 @@ -Extension [ <persistent> extension #108 lz4 version 0.3.4 ] { +Extension [ <persistent> extension #114 lz4 version 0.3.6 ] { - Constants [3] { Constant [ integer LZ4_CLEVEL_MIN ] { 3 } Constant [ integer LZ4_CLEVEL_MAX ] { 12 } - Constant [ integer LZ4_VERSION ] { 10801 } + Constant [ integer LZ4_VERSION ] { 10902 } } - Functions { diff --git a/php-lz4.spec b/php-lz4.spec index 4d80cde..6bdc132 100644 --- a/php-lz4.spec +++ b/php-lz4.spec @@ -13,13 +13,13 @@ %global pkg_name %{name} %endif -%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 %global with_liblz4 1 %else %global with_liblz4 0 %endif -%global gh_commit 7013a58747a70f992ebdb1fdec2d1d63ba40247c +%global gh_commit 3daf64b7981416115ecc0a94d9b43d8290e2ce14 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner kjdev %global gh_project php-ext-lz4 @@ -30,11 +30,11 @@ Summary: LZ4 Extension for PHP Name: %{?sub_prefix}php-lz4 -Version: 0.3.4 +Version: 0.3.6 %if 0%{?gh_date:1} -Release: 3%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif License: MIT Group: Development/Languages @@ -46,9 +46,9 @@ Source1: makesrc.sh BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel %if %{?with_liblz4} -BuildRequires: lz4-devel >= 1.8 +BuildRequires: lz4-devel >= 1.9 %else -Provides: bundled(lz4) = 1.8.1.2 +Provides: bundled(lz4) = 1.9.2 %endif Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -82,9 +82,13 @@ Obsoletes: php72u-%{pecl_name} <= %{version} Obsoletes: php72w-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" -Obsoletes: php73u-%{pecl_name} <= %{version} +Obsoletes: php73-%{pecl_name} <= %{version} Obsoletes: php73w-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.4" +Obsoletes: php74-%{pecl_name} <= %{version} +Obsoletes: php74w-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -219,6 +223,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Aug 27 2019 Remi Collet <remi@remirepo.net> - 0.3.6-1 +- update to 0.3.6 with bundled liblz4 version 1.9.2 + * Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 0.3.4-3 - rebuild for 7.3.0beta2 new ABI |