diff options
author | Remi Collet <remi@remirepo.net> | 2020-03-25 07:15:37 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-03-25 07:15:37 +0100 |
commit | 3c060f41deed776ed4aa730bb8e0df7dfbb4d393 (patch) | |
tree | c65122c91ce752b5d3606e31a5a1d59d39c6e905 | |
parent | 5d1b6a2a363b67a852bf00028f2711edeef95e85 (diff) |
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
-rw-r--r-- | php-pecl-yac.spec | 15 |
1 files changed, 14 insertions, 1 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 2.0.4-1 - update to 2.0.4 |