summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-27 14:45:13 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-27 14:45:13 +0100
commit9f9f709d54d78515a7138e767199a4612cf7f596 (patch)
treef8b2993d40f4d89baf29b16cc18aa239235f8e44
parenta57b8fd64189b61a768a1c3e05c54484446b38a6 (diff)
php-horde-Horde-Translation: 2.2.2
-rw-r--r--php-horde-Horde-Translation.spec23
1 files changed, 19 insertions, 4 deletions
diff --git a/php-horde-Horde-Translation.spec b/php-horde-Horde-Translation.spec
index 10a47eb..968f07f 100644
--- a/php-horde-Horde-Translation.spec
+++ b/php-horde-Horde-Translation.spec
@@ -19,7 +19,7 @@
%endif
Name: php-horde-Horde-Translation
-Version: 2.2.1
+Version: 2.2.2
Release: 1%{?dist}
Summary: Horde translation library
@@ -89,11 +89,23 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-%{_bindir}/phpunit .
-if which php70; then
- php70 %{_bindir}/phpunit .
+# remirepo:11
+run=0
+ret=0
+if which php56; then
+ php56 %{_bindir}/phpunit . || ret=1
+ run=1
fi
+if which php71; then
+ php71 %{_bindir}/phpunit . || ret=1
+ run=1
+fi
+if [ $run -eq 0 ]; then
+%{_bindir}/phpunit --verbose .
+# remirepo:2
+fi
+exit $ret
%else
: Test disabled, missing '--with tests' option.
%endif
@@ -121,6 +133,9 @@ fi
%changelog
+* Mon Feb 27 2017 Remi Collet <remi@fedoraproject.org> - 2.2.2-1
+- Update to 2.2.2
+
* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.2.1-1
- Update to 2.2.1
- PHP 7 compatible version