summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION4
-rw-r--r--php-pecl-yac-dev.spec15
-rw-r--r--php-pecl-yac.spec12
3 files changed, 15 insertions, 16 deletions
diff --git a/REFLECTION b/REFLECTION
index 8400971..024874a 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #155 yac version 0.9.1 ] {
+Extension [ <persistent> extension #159 yac version 0.9.2 ] {
- INI {
Entry [ yac.enable <SYSTEM> ]
@@ -22,7 +22,7 @@ Extension [ <persistent> extension #155 yac version 0.9.1 ] {
}
- Constants [5] {
- Constant [ string YAC_VERSION ] { 0.9.1 }
+ Constant [ string YAC_VERSION ] { 0.9.2 }
Constant [ integer YAC_MAX_KEY_LEN ] { 48 }
Constant [ integer YAC_MAX_VALUE_RAW_LEN ] { 67108863 }
Constant [ integer YAC_MAX_RAW_COMPRESSED_LEN ] { 1048576 }
diff --git a/php-pecl-yac-dev.spec b/php-pecl-yac-dev.spec
index 0238364..004e605 100644
--- a/php-pecl-yac-dev.spec
+++ b/php-pecl-yac-dev.spec
@@ -23,17 +23,14 @@
Summary: Lockless user data cache
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 0.9.1
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 0.9.2
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-# https://github.com/laruence/yac/pull/42
-Patch0: %{pecl_name}-fastlz.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel > 5.2
BuildRequires: %{?scl_prefix}php-pear
@@ -45,6 +42,7 @@ Requires(post): %{__pecl}
Requires(postun): %{__pecl}
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
+%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
# Package have be renamed
Obsoletes: %{?scl_prefix}php-%{pecl_name} < %{version}
@@ -86,6 +84,8 @@ chance you will get a wrong data(depends on how many key slots are
allocated and how many keys are stored), so you'd better make sure
that your product is not very sensitive to that.
+Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}.
+
%prep
%setup -qc
@@ -95,8 +95,6 @@ mv %{pecl_name}-%{version} NTS
sed -e 's/role="test"/role="src"/' -i package.xml
cd NTS
-%patch0 -p1 -b .pr42
-
%if %{with_fastlz}
sed -e '\:name="compressor/fastlz:d' -i ../package.xml
rm -r compressor/fastlz
@@ -242,6 +240,9 @@ rm -rf %{buildroot}
%changelog
+* Sat Oct 25 2014 Remi Collet <remi@fedoraproject.org> - 0.9.2-1
+- Update to 0.9.2
+
* Sat Sep 6 2014 Remi Collet <remi@fedoraproject.org> - 0.9.1-3
- test build with system fastlz
- don't install the tests
diff --git a/php-pecl-yac.spec b/php-pecl-yac.spec
index 47aa31e..8d7739a 100644
--- a/php-pecl-yac.spec
+++ b/php-pecl-yac.spec
@@ -21,17 +21,14 @@
Summary: Lockless user data cache
Name: php-pecl-%{pecl_name}
-Version: 0.9.1
-Release: 3%{?dist}
+Version: 0.9.2
+Release: 1%{?dist}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-# https://github.com/laruence/yac/pull/42
-Patch0: %{pecl_name}-fastlz.patch
-
BuildRequires: php-devel > 5.2
BuildRequires: php-pear
BuildRequires: fastlz-devel
@@ -74,8 +71,6 @@ mv %{pecl_name}-%{version} NTS
sed -e 's/role="test"/role="src"/' -i package.xml
cd NTS
-%patch0 -p1 -b .pr42
-
# drop bundled fastlz to ensure it is not used
sed -e '\:name="compressor/fastlz:d' -i ../package.xml
rm -r compressor/fastlz
@@ -212,6 +207,9 @@ fi
%changelog
+* Sat Oct 25 2014 Remi Collet <remi@fedoraproject.org> - 0.9.2-1
+- Update to 0.9.2
+
* Sat Sep 6 2014 Remi Collet <remi@fedoraproject.org> - 0.9.1-3
- cleanup for review
- build with system fastlz