summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-02-14 09:09:19 +0100
committerRemi Collet <remi@remirepo.net>2019-02-14 09:09:19 +0100
commit7819baf28f5fef995f4a52e6546638e1d37c560f (patch)
tree2137fbe50a10d4ea57abd3284eac1559d9179dc0
parentbc27642de7e8c56c1e3cc55b5037cc524cc83d07 (diff)
update to 3.0.0a2 (alpha)
raise dependency on PHP 7.0
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-igbinary.spec43
3 files changed, 17 insertions, 32 deletions
diff --git a/PHPINFO b/PHPINFO
index 9f526eb..b518fbf 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,8 +2,8 @@
igbinary
igbinary support => enabled
-igbinary version => 2.0.8
-igbinary APCU serializer ABI => 0
+igbinary version => 3.0.0a2
+igbinary APCu serializer ABI => 0
igbinary session support => yes
Directive => Local Value => Master Value
diff --git a/REFLECTION b/REFLECTION
index 2fff3fc..9be78bc 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #97 igbinary version 2.0.8 ] {
+Extension [ <persistent> extension #103 igbinary version 3.0.0a2 ] {
- Dependencies {
Dependency [ standard (Required) ]
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec
index 719b8f8..510510a 100644
--- a/php-pecl-igbinary.spec
+++ b/php-pecl-igbinary.spec
@@ -3,7 +3,7 @@
#
# Fedora spec file for php-pecl-igbinary
#
-# Copyright (c) 2010-2018 Remi Collet
+# Copyright (c) 2010-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -23,15 +23,10 @@
%global gh_commit 6a2d5b7ea71489c4d7065dc7746d37cfa80d501c
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20161018
-#global prever -dev
-%if "%{php_version}" < "5.6"
-%global ini_name %{pecl_name}.ini
-%else
%global ini_name 40-%{pecl_name}.ini
-%endif
-%global upstream_version 2.0.8
-#global upstream_prever RC1
+%global upstream_version 3.0.0
+%global upstream_prever a2
Summary: Replacement for the standard PHP serializer
Name: %{?sub_prefix}php-pecl-igbinary
@@ -49,7 +44,7 @@ URL: http://pecl.php.net/package/igbinary
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-pear
-BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?sub_prefix}php-pecl-apcu-devel
BuildRequires: %{?sub_prefix}php-json
@@ -69,22 +64,12 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rel
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-Obsoletes: php53-pecl-%{pecl_name}
-Obsoletes: php53u-pecl-%{pecl_name}
-Obsoletes: php54-pecl-%{pecl_name}
-Obsoletes: php54w-pecl-%{pecl_name}
-%if "%{php_version}" > "5.5"
Obsoletes: php55u-pecl-%{pecl_name}
Obsoletes: php55w-pecl-%{pecl_name}
-%endif
-%if "%{php_version}" > "5.6"
Obsoletes: php56u-pecl-%{pecl_name}
Obsoletes: php56w-pecl-%{pecl_name}
-%endif
-%if "%{php_version}" > "7.0"
Obsoletes: php70u-pecl-%{pecl_name}
Obsoletes: php70w-pecl-%{pecl_name}
-%endif
%if "%{php_version}" > "7.1"
Obsoletes: php71u-pecl-%{pecl_name}
Obsoletes: php71w-pecl-%{pecl_name}
@@ -230,19 +215,15 @@ MOD=""
# drop extension load from phpt
sed -e '/^extension=/d' -i ?TS/tests/*phpt
-# APC required for test 045
-if [ -f %{php_extdir}/apcu.so ]; then
- MOD="-d extension=apcu.so"
-fi
-if [ -f %{php_extdir}/apc.so ]; then
- MOD="$MOD -d extension=apc.so"
-fi
-
-: simple NTS module load test, without APC, as optional
+: simple NTS module load test, without APCu, as optional
%{_bindir}/php --no-php-ini \
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
+# APC required for test 045*
+if [ -f %{php_extdir}/apcu.so ]; then
+ MOD="-d extension=apcu.so"
+fi
# Json used in tests
if [ -f %{php_extdir}/json.so ]; then
MOD="$MOD -d extension=json.so"
@@ -257,7 +238,7 @@ REPORT_EXIT_STATUS=1 \
%{_bindir}/php -n run-tests.php --show-diff
%if %{with_zts}
-: simple ZTS module load test, without APC, as optional
+: simple ZTS module load test, without APCu, as optional
%{__ztsphp} --no-php-ini \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep %{pecl_name}
@@ -316,6 +297,10 @@ fi
%changelog
+* Thu Feb 14 2019 Remi Collet <remi@remirepo.net> - 3.0.0~a2-1
+- update to 3.0.0a2 (alpha)
+- raise dependency on PHP 7.0
+
* Sun Oct 21 2018 Remi Collet <remi@remirepo.net> - 2.0.8-1
- update to 2.0.8