summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-06 13:44:13 +0100
committerRemi Collet <remi@remirepo.net>2020-01-06 13:44:13 +0100
commit8d1657bb0e7c2f0f6301a0ab1d16eae8e1a09fc7 (patch)
treebd8d15fa7a606e35172ccb4ac67a3aaa2741e6e3
parentb0282f18fb5d94fcaf46cab96f4590398a7d4c51 (diff)
v2.0.3
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION4
-rw-r--r--php-pecl-yac.spec25
3 files changed, 11 insertions, 20 deletions
diff --git a/PHPINFO b/PHPINFO
index 644138d..8e0f694 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
yac
yac support => enabled
-Version => 2.0.2
+Version => 2.0.3
Shared Memory => mmap
Serializer => php
diff --git a/REFLECTION b/REFLECTION
index 99446ff..9d21f1f 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #108 yac version 2.0.2 ] {
+Extension [ <persistent> extension #108 yac version 2.0.3 ] {
- INI {
Entry [ yac.enable <SYSTEM> ]
@@ -22,7 +22,7 @@ Extension [ <persistent> extension #108 yac version 2.0.2 ] {
}
- Constants [5] {
- Constant [ string YAC_VERSION ] { 2.0.2 }
+ Constant [ string YAC_VERSION ] { 2.0.3 }
Constant [ int YAC_MAX_KEY_LEN ] { 48 }
Constant [ int YAC_MAX_VALUE_RAW_LEN ] { 67108863 }
Constant [ int YAC_MAX_RAW_COMPRESSED_LEN ] { 1048576 }
diff --git a/php-pecl-yac.spec b/php-pecl-yac.spec
index 9cc2b7f..38b1d10 100644
--- a/php-pecl-yac.spec
+++ b/php-pecl-yac.spec
@@ -3,7 +3,7 @@
#
# Fedora spec file for php-pecl-yac (previously php-yac)
#
-# Copyright (c) 2013-2019 Remi Collet
+# Copyright (c) 2013-2020 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -31,19 +31,17 @@
Summary: Lockless user data cache
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 2.0.2
+Version: 2.0.3
%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
%else
-Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
-Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
%endif
License: PHP
-URL: http://pecl.php.net/package/%{pecl_name}
-
-Patch0: https://patch-diff.githubusercontent.com/raw/laruence/yac/pull/89.patch
+URL: https://pecl.php.net/package/%{pecl_name}
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
@@ -69,14 +67,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
-%if "%{php_version}" > "7.1"
-Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "7.2"
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
@@ -126,8 +116,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .pr89
-
%if %{with_fastlz}
sed -e '\:name="compressor/fastlz:d' -i ../package.xml
rm -r compressor/fastlz
@@ -284,6 +272,9 @@ fi
%changelog
+* Mon Jan 6 2020 Remi Collet <remi@remirepo.net> - 2.0.3-1
+- update to 2.0.3
+
* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 2.0.2-6
- rebuild for 7.4.0RC1