[php-pecl-igbinary/f20] update to 1.2.1
Remi Collet
remi at fedoraproject.org
Fri Aug 29 09:37:57 UTC 2014
commit d98f679326299ca7a4d5be064a85ab53db60e054
Author: Remi Collet <remi at fedoraproject.org>
Date: Fri Aug 29 11:28:33 2014 +0200
update to 1.2.1
(cherry picked from commit e72d980c023b7c3a4275f767bd6da96a07f1e309)
.gitignore | 1 +
php-pecl-igbinary.spec | 21 +++++++--------------
sources | 2 +-
3 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e2691b1..b30233c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ clog
/igbinary-igbinary-1.1.1-15-g3b8ab7e.tar.gz
/igbinary-1.1.2-c35d48f.tar.gz
/igbinary-1.2.0.tgz
+/igbinary-1.2.1.tgz
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec
index 1f400d6..f5efa22 100644
--- a/php-pecl-igbinary.spec
+++ b/php-pecl-igbinary.spec
@@ -20,7 +20,7 @@
Summary: Replacement for the standard PHP serializer
Name: php-pecl-igbinary
-Version: 1.2.0
+Version: 1.2.1
Release: 1%{?dist}
Source0: http://pecl.php.net/get/%{extname}-%{version}.tgz
License: BSD
@@ -76,9 +76,7 @@ mv %{extname}-%{version} NTS
cd NTS
# Check version
-sed -e '/IGBINARY_VERSION/s/1.1.2-dev/%{version}/' -i igbinary.h
-
-extver=$(sed -n '/#define IGBINARY_VERSION/{s/.* "//;s/".*$//;p}' igbinary.h)
+extver=$(sed -n '/#define PHP_IGBINARY_VERSION/{s/.* "//;s/".*$//;p}' igbinary.h)
if test "x${extver}" != "x%{version}%{?prever}"; then
: Error: Upstream version is ${extver}, expecting %{version}%{?prever}.
exit 1
@@ -143,14 +141,6 @@ done
%check
-sed -e '/^extension=apc/d' -i ?TS/tests/igbinary_045*phpt
-%if "%{php_version}" < "5.4"
-# SessionHandlerInterface is 5.4 only
-rm ?TS/tests/igbinary_047.phpt
-%endif
-
-cd NTS
-
# APC required for test 045
if [ -f %{php_extdir}/apcu.so ]; then
MOD="-d extension=apcu.so"
@@ -164,6 +154,7 @@ fi
--modules | grep %{extname}
: upstream test suite
+cd NTS
TEST_PHP_EXECUTABLE=%{_bindir}/php \
TEST_PHP_ARGS="-n $MOD -d extension=$PWD/modules/%{extname}.so" \
NO_INTERACTION=1 \
@@ -171,14 +162,13 @@ REPORT_EXIT_STATUS=1 \
%{_bindir}/php -n run-tests.php --show-diff
%if %{with_zts}
-cd ../ZTS
-
: simple ZTS module load test, without APC, as optional
%{__ztsphp} --no-php-ini \
--define extension=%{buildroot}%{php_ztsextdir}/%{extname}.so \
--modules | grep %{extname}
: upstream test suite
+cd ../ZTS
TEST_PHP_EXECUTABLE=%{__ztsphp} \
TEST_PHP_ARGS="-n $MOD -d extension=$PWD/modules/%{extname}.so" \
NO_INTERACTION=1 \
@@ -219,6 +209,9 @@ fi
%changelog
+* Fri Aug 29 2014 Remi Collet <remi at fedoraproject.org> - 1.2.1-1
+- Update to 1.2.1
+
* Thu Aug 28 2014 Remi Collet <remi at fedoraproject.org> - 1.2.0-1
- update to 1.2.0
- open https://github.com/igbinary/igbinary/pull/36
diff --git a/sources b/sources
index 9be9cae..55226ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3755f17c73e7ef1fa022efd3b49d0573 igbinary-1.2.0.tgz
+04a2474ff5eb99c7d0007bf9f4e8a6ec igbinary-1.2.1.tgz
More information about the scm-commits
mailing list