summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION4
-rw-r--r--php-pecl-lua.spec14
2 files changed, 11 insertions, 7 deletions
diff --git a/REFLECTION b/REFLECTION
index b77ab2b..5669bee 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #102 lua version 2.0.3 ] {
+Extension [ <persistent> extension #103 lua version 2.0.4 ] {
- Constants [8] {
Constant [ integer LUA_OK ] { 0 }
@@ -15,7 +15,7 @@ Extension [ <persistent> extension #102 lua version 2.0.3 ] {
Class [ <internal:lua> final class Lua ] {
- Constants [1] {
- Constant [ string LUA_VERSION ] { Lua 5.3.3 }
+ Constant [ string LUA_VERSION ] { Lua 5.3.4 }
}
- Static properties [1] {
diff --git a/php-pecl-lua.spec b/php-pecl-lua.spec
index e37c29a..5e3d1f9 100644
--- a/php-pecl-lua.spec
+++ b/php-pecl-lua.spec
@@ -18,7 +18,7 @@
Summary: Embedded lua interpreter
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 2.0.3
+Version: 2.0.4
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
Group: Development/Languages
@@ -60,6 +60,10 @@ Obsoletes: php70w-pecl-%{pecl_name}
Obsoletes: php71u-pecl-%{pecl_name}
Obsoletes: php71w-pecl-%{pecl_name}
%endif
+%if "%{php_version}" > "7.2"
+Obsoletes: php72u-pecl-%{pecl_name}
+Obsoletes: php72w-pecl-%{pecl_name}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -151,10 +155,7 @@ make -C ZTS \
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
-# Test & Documentation
-for i in $(grep 'role="test"' package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 NTS/$i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
-done
+# Documentation
for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
@@ -225,6 +226,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Jul 12 2017 Remi Collet <remi@remirepo.net> - 2.0.4-1
+- Update to 2.0.4
+
* Fri Feb 10 2017 Remi Collet <remi@fedoraproject.org> - 2.0.3-1
- update to 2.0.3 (php 7, stable)