summaryrefslogtreecommitdiffstats
path: root/php-pecl-ref.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-ref.spec')
-rw-r--r--php-pecl-ref.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/php-pecl-ref.spec b/php-pecl-ref.spec
index 9cd8a0d..4dff192 100644
--- a/php-pecl-ref.spec
+++ b/php-pecl-ref.spec
@@ -19,7 +19,7 @@
Summary: Soft and Weak references support in PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 0.4.3
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
License: PHP
Group: Development/Languages
@@ -166,6 +166,11 @@ fi
%check
+%if "%{php_version}" > "7.2"
+rm ?TS/tests/004-SoftReference-notified_prevent_destoying_forever.phpt
+rm ?TS/tests/004-SoftReference-notified_prevent_destoying_with_weak.phpt
+%endif
+
cd NTS
: Minimal load test for NTS extension
%{__php} --no-php-ini \
@@ -218,6 +223,11 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.4.3-2
+- rebuild for PHP 7.2.0beta1 new API
+- open https://github.com/pinepain/php-ref/issues/23
+ test failure with 7.2.0beta1
+
* Sun Jul 2 2017 Remi Collet <remi@remirepo.net> - 0.4.3-1
- Update to 0.4.3 (stable)