From 4a06bd667aebdfc18bce46fb34da6bb97dd558fa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 27 Aug 2019 08:47:50 +0200 Subject: update to 0.3.6 with bundled liblz4 version 1.9.2 --- php-lz4.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'php-lz4.spec') 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 - 0.3.6-1 +- update to 0.3.6 with bundled liblz4 version 1.9.2 + * Thu Aug 16 2018 Remi Collet - 0.3.4-3 - rebuild for 7.3.0beta2 new ABI -- cgit