summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-10 12:53:14 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-10 12:53:14 +0100
commite707c889c1d2c0c5b07086dcfc106ba315827ba1 (patch)
tree4ea1e7c76e2c0ad60ad067aac04d16009a31585b
parentc47a4029e349a2de9fedf8dcbf69d559fb16df55 (diff)
php-pecl-lua: 2.0.3 (php 7, stable)
-rw-r--r--REFLECTION-PHP74
-rw-r--r--php-pecl-lua-php7.spec17
2 files changed, 15 insertions, 6 deletions
diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7
index 89005c9..b77ab2b 100644
--- a/REFLECTION-PHP7
+++ b/REFLECTION-PHP7
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #66 lua version 2.0.2 ] {
+Extension [ <persistent> extension #102 lua version 2.0.3 ] {
- Constants [8] {
Constant [ integer LUA_OK ] { 0 }
@@ -15,7 +15,7 @@ Extension [ <persistent> extension #66 lua version 2.0.2 ] {
Class [ <internal:lua> final class Lua ] {
- Constants [1] {
- Constant [ string LUA_VERSION ] { Lua 5.3.2 }
+ Constant [ string LUA_VERSION ] { Lua 5.3.3 }
}
- Static properties [1] {
diff --git a/php-pecl-lua-php7.spec b/php-pecl-lua-php7.spec
index aa7b8e2..e37c29a 100644
--- a/php-pecl-lua-php7.spec
+++ b/php-pecl-lua-php7.spec
@@ -18,8 +18,8 @@
Summary: Embedded lua interpreter
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 2.0.2
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 2.0.3
+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}
@@ -28,6 +28,8 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
BuildRequires: lua-devel
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
+# For tests
+BuildRequires: %{?scl_prefix}php-json
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -109,6 +111,8 @@ EOF
%build
+%{?dtsenable}
+
cd NTS
%{_bindir}/phpize
%configure \
@@ -129,6 +133,8 @@ make %{?_smp_mflags}
%install
+%{?dtsenable}
+
make -C NTS \
install INSTALL_ROOT=%{buildroot}
@@ -183,7 +189,7 @@ cd NTS
# Upstream test suite for NTS extension
TEST_PHP_EXECUTABLE=%{__php} \
-TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
+TEST_PHP_ARGS="-n -d extension=json.so -d extension=%{buildroot}/%{php_extdir}/%{pecl_name}.so" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
%{__php} -n run-tests.php
@@ -197,7 +203,7 @@ cd ../ZTS
# Upstream test suite for ZTS extension
TEST_PHP_EXECUTABLE=%{__ztsphp} \
-TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" \
+TEST_PHP_ARGS="-n -d extension=json.so -d extension=%{buildroot}/%{php_ztsextdir}/%{pecl_name}.so" \
NO_INTERACTION=1 \
REPORT_EXIT_STATUS=1 \
%{__ztsphp} -n run-tests.php
@@ -219,6 +225,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Feb 10 2017 Remi Collet <remi@fedoraproject.org> - 2.0.3-1
+- update to 2.0.3 (php 7, stable)
+
* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 2.0.2-3
- rebuild with PHP 7.1.0 GA