[php-pecl-apc] update to 3.1.6 (bugfix)

Remi Collet remi at fedoraproject.org
Tue Nov 30 16:58:02 UTC 2010


commit dc2b25735b8ccf098ad6e5c865ea044086158e4f
Author: remi <fedora at famillecollet.com>
Date:   Tue Nov 30 17:57:59 2010 +0100

    update to 3.1.6 (bugfix)

 .gitignore        |    1 +
 php-pecl-apc.spec |   12 ++++++++----
 sources           |    2 +-
 3 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7d97a10..a5d467a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 APC-3.1.3p1.tgz
 APC-3.1.4.tgz
 /APC-3.1.5.tgz
+/APC-3.1.6.tgz
diff --git a/php-pecl-apc.spec b/php-pecl-apc.spec
index ea44b8d..e0ec444 100644
--- a/php-pecl-apc.spec
+++ b/php-pecl-apc.spec
@@ -6,12 +6,13 @@
 
 Summary:       APC caches and optimizes PHP intermediate code
 Name:          php-pecl-apc
-Version:       3.1.5
-Release:       2%{?dist}
+Version:       3.1.6
+Release:       1%{?dist}
 License:       PHP
 Group:         Development/Languages
 URL:           http://pecl.php.net/package/APC
 Source:        http://pecl.php.net/get/APC-%{version}.tgz
+
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
 Conflicts:     php-mmcache php-eaccelerator
 BuildRequires: php-devel >= 5.1.0, httpd-devel, php-pear, pcre-devel
@@ -50,8 +51,8 @@ intermediate code.
 %prep
 %setup -q -c 
 
-# workaround to http://pecl.php.net/bugs/19590
-%{__sed} -i -e '/PHP_APC_VERSION/s/%{version}-dev/%{version}/' APC-%{version}/php_apc.h
+# Check than upstream version is correct, http://pecl.php.net/bugs/19590
+grep '"%{version}"' APC-%{version}/php_apc.h || exit 1
 
 
 %build
@@ -187,6 +188,9 @@ fi
 
 
 %changelog
+* Tue Nov 30 2010 Remi Collet <Fedora at FamilleCollet.com> - 3.1.6-1
+- update to 3.1.6 (bugfix)
+
 * Wed Nov 03 2010 Remi Collet <Fedora at FamilleCollet.com> - 3.1.5-2
 - fix reported version, see http://pecl.php.net/bugs/19590
 
diff --git a/sources b/sources
index 80aafdb..2873e7c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-63fdc8cf578aa912be6642c68219a666  APC-3.1.5.tgz
+624b8030254f897face30789d64e6b7e  APC-3.1.6.tgz


More information about the scm-commits mailing list