From 3c060f41deed776ed4aa730bb8e0df7dfbb4d393 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 25 Mar 2020 07:15:37 +0100 Subject: update to 2.1.0 add missing file from git repository and open https://github.com/laruence/yac/pull/104 add upstream patch to fix 32-bit builds reported as https://github.com/laruence/yac/issues/105 --- php-pecl-yac.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/php-pecl-yac.spec b/php-pecl-yac.spec index d66e299..293143a 100644 --- a/php-pecl-yac.spec +++ b/php-pecl-yac.spec @@ -31,7 +31,7 @@ Summary: Lockless user data cache Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 2.0.4 +Version: 2.1.0 %if 0%{?gh_date:1} Release: 0.12.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz @@ -40,6 +40,9 @@ Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif +Source1: https://raw.githubusercontent.com/laruence/yac/yac-%{version}/storage/yac_atomic.h +Patch0: https://github.com/laruence/yac/commit/7c7356f6eec923ac3ad6e96711af5bbc9effbb6e.patch + License: PHP URL: https://pecl.php.net/package/%{pecl_name} @@ -116,6 +119,9 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +cp %{SOURCE1} storage/ +%patch0 -p1 + %if %{with_fastlz} sed -e '\:name="compressor/fastlz:d' -i ../package.xml rm -r compressor/fastlz @@ -272,6 +278,13 @@ fi %changelog +* Wed Mar 25 2020 Remi Collet - 2.1.0-1 +- update to 2.1.0 +- add missing file from git repository and open + https://github.com/laruence/yac/pull/104 +- add upstream patch to fix 32-bit builds reported as + https://github.com/laruence/yac/issues/105 + * Thu Mar 19 2020 Remi Collet - 2.0.4-1 - update to 2.0.4 -- cgit