[php-pecl-apc] APC 3.1.9 (bugfix)
Remi Collet
remi at fedoraproject.org
Sun May 15 06:35:09 UTC 2011
commit ab2639c23f74df04a39ebb5327a369846ce457d0
Author: remi <fedora at famillecollet.com>
Date: Sun May 15 08:34:36 2011 +0200
APC 3.1.9 (bugfix)
.gitignore | 1 +
APC.patch | 11 -----------
php-pecl-apc.spec | 16 +++++++---------
sources | 2 +-
4 files changed, 9 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 77e8f96..797aee1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
*~
/APC-3.1.8.tgz
+/APC-3.1.9.tgz
diff --git a/php-pecl-apc.spec b/php-pecl-apc.spec
index 861c33c..f3b6940 100644
--- a/php-pecl-apc.spec
+++ b/php-pecl-apc.spec
@@ -1,21 +1,18 @@
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
-%global php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
+%global php_extdir %(%{_bindir}/php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
%global php_zendabiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP Extension => //p') | tail -1)
%global php_version %((echo 0; php-config --version 2>/dev/null) | tail -1)
%global pecl_name APC
Summary: APC caches and optimizes PHP intermediate code
Name: php-pecl-apc
-Version: 3.1.8
-Release: 2%{?dist}
+Version: 3.1.9
+Release: 1%{?dist}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/APC
Source: http://pecl.php.net/get/APC-%{version}.tgz
-# Fix for http://pecl.php.net/bugs/22687
-Patch0: APC.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Conflicts: php-mmcache php-eaccelerator
BuildRequires: php-devel >= 5.1.0, httpd-devel, php-pear, pcre-devel
@@ -67,8 +64,6 @@ These are the files needed to compile programs using APC serializer.
# Check than upstream version is correct, http://pecl.php.net/bugs/19590
grep '"%{version}"' APC-%{version}/php_apc.h || exit 1
-%patch0 -p0 -b .orig
-
%build
cd APC-%{version}
@@ -169,7 +164,7 @@ EOF
%check
cd %{pecl_name}-%{version}
-TEST_PHP_EXECUTABLE=$(which php) php run-tests.php \
+TEST_PHP_EXECUTABLE=%{_bindir}/php %{_bindir}/php run-tests.php \
-n -q -d extension_dir=modules \
-d extension=apc.so
@@ -206,6 +201,9 @@ fi
%changelog
+* Sun May 15 2011 Remi Collet <Fedora at FamilleCollet.com> - 3.1.9-1
+- update to 3.1.9 (bugfix, stable)
+
* Sat May 14 2011 Remi Collet <Fedora at FamilleCollet.com> - 3.1.8-2
- fix for http://pecl.php.net/bugs/22687
diff --git a/sources b/sources
index d0cfdd5..e104ac4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bb1147933a61aa70ceffe53cc6f2920f APC-3.1.8.tgz
+a2cf7fbf6f3a87f190d897a53260ddaa APC-3.1.9.tgz
More information about the scm-commits
mailing list