summaryrefslogtreecommitdiffstats
path: root/php-twig.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-24 06:49:13 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-24 06:49:13 +0100
commitdfed2e1a14b3ddc815dd67d49b697085cec65212 (patch)
tree802bb7ee523b4414774418c0c8cbce6c6bd0ad35 /php-twig.spec
parent7a41f02ee2a80eccdf8360cbe157c5ff2c2b3eea (diff)
php-twig: 1.28.2
Diffstat (limited to 'php-twig.spec')
-rw-r--r--php-twig.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/php-twig.spec b/php-twig.spec
index cd64560..88c5a4e 100644
--- a/php-twig.spec
+++ b/php-twig.spec
@@ -30,8 +30,8 @@
%global github_owner twigphp
%global github_name Twig
-%global github_version 1.28.1
-%global github_commit fff80c4a7ae1d47a81dfec10c76cbcb939170b45
+%global github_version 1.28.2
+%global github_commit b22ce0eb070e41f7cba65d78fe216de29726459c
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%if "%{php_version}" < "7"
@@ -289,6 +289,8 @@ EXT_VERSION=`grep PHP_TWIG_VERSION ext/NTS/php_twig.h | awk '{print $3}' | sed '
sed -e 's/function testGetAttributeWithTemplateAsObject/function skip_testGetAttributeWithTemplateAsObject/' \
-i test/Twig/Tests/TemplateTest.php
%endif
+: Disable listener from symfony/phpunit-bridge 3.2@dev
+sed -e '/listener/d' phpunit.xml.dist > phpunit.xml
: Test suite without extension
# remirepo:11
@@ -303,17 +305,16 @@ if which php71; then
run=1
fi
if [ $run -eq 0 ]; then
-%{_bindir}/phpunit --bootstrap %{buildroot}%{phpdir}/Twig/autoload.php --verbose
+%{_bindir}/phpunit --bootstrap %{buildroot}%{phpdir}/Twig/autoload.php --verbose || ret=1
# remirepo:1
fi
%if %{with_ext}
: Test suite with extension
%{_bindir}/php --define extension=ext/NTS/modules/%{ext_name}.so \
- %{_bindir}/phpunit --bootstrap %{buildroot}%{phpdir}/Twig/autoload.php --verbose
+ %{_bindir}/phpunit --bootstrap %{buildroot}%{phpdir}/Twig/autoload.php --verbose || ret=1
%endif
-# remirepo:1
exit $ret
%else
: Tests skipped
@@ -345,6 +346,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Nov 24 2016 Remi Collet <remi@fedoraproject.org> - 1.28.2-1
+- Update to 1.28.2
+
* Tue Nov 22 2016 Remi Collet <remi@fedoraproject.org> - 1.28.1-1
- Update to 1.28.1