diff options
author | Remi Collet <remi@remirepo.net> | 2018-04-09 12:01:08 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-04-09 12:01:08 +0200 |
commit | 1088c387b9a25a2f3bc3339452cb8fc43060dc99 (patch) | |
tree | 9fa086bf015ef2de6aabc8052f07aa5e5ea0f4b0 | |
parent | 8eaf47deaba1bfa233a01bd16bc748ab97c4c275 (diff) |
update to 0.3.4 with bundled liblz4 version 1.8.1.2
-rw-r--r-- | REFLECTION | 4 | ||||
-rw-r--r-- | php-lz4.spec | 20 |
2 files changed, 16 insertions, 8 deletions
@@ -1,9 +1,9 @@ -Extension [ <persistent> extension #104 lz4 version 0.3.3 ] { +Extension [ <persistent> extension #108 lz4 version 0.3.4 ] { - Constants [3] { Constant [ integer LZ4_CLEVEL_MIN ] { 3 } Constant [ integer LZ4_CLEVEL_MAX ] { 12 } - Constant [ integer LZ4_VERSION ] { 10800 } + Constant [ integer LZ4_VERSION ] { 10801 } } - Functions { diff --git a/php-lz4.spec b/php-lz4.spec index e179810..c2a4125 100644 --- a/php-lz4.spec +++ b/php-lz4.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-lz4 # -# Copyright (c) 2016-2017 Remi Collet +# Copyright (c) 2016-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -13,9 +13,13 @@ %global pkg_name %{name} %endif +%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 +%global with_liblz4 1 +%else %global with_liblz4 0 +%endif -%global gh_commit fb61d07a3900e4c0935366b8ac8e08ece192634b +%global gh_commit 7013a58747a70f992ebdb1fdec2d1d63ba40247c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner kjdev %global gh_project php-ext-lz4 @@ -26,9 +30,9 @@ Summary: LZ4 Extension for PHP Name: %{?sub_prefix}php-lz4 -Version: 0.3.3 +Version: 0.3.4 %if 0%{?gh_date:1} -Release: 0.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: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif @@ -39,11 +43,12 @@ Source0: %{pkg_name}-%{version}-%{gh_short}.tgz # retrieve a recursive git snapshot with submodule Source1: makesrc.sh +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel %if %{?with_liblz4} -BuildRequires: lz4-devel +BuildRequires: lz4-devel >= 1.8 %else -Provides: bundled(lz4) = 1.8.0 +Provides: bundled(lz4) = 1.8.1.2 %endif Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -210,6 +215,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Apr 9 2018 Remi Collet <remi@remirepo.net> - 0.3.4-1 +- update to 0.3.4 with bundled liblz4 version 1.8.1.2 + * Mon Aug 21 2017 Remi Collet <remi@remirepo.net> - 0.3.3-1 - update to 0.3.3 with bundled liblz4 version 1.8.0 |