summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-27 13:24:11 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-27 13:24:11 +0100
commit225823de2a9557889a432abdb81a50a2298cd5cb (patch)
tree315b7a493451d8546023fa9deeaa451d7fc6cb05
parent3f6cb0e9c2501ce09245b7ed45e985ab5ecf1d66 (diff)
php-horde-Horde-Log: 2.3.0HEADmaster
-rw-r--r--php-horde-Horde-Log.spec23
1 files changed, 19 insertions, 4 deletions
diff --git a/php-horde-Horde-Log.spec b/php-horde-Horde-Log.spec
index 0dff508..740b5bc 100644
--- a/php-horde-Horde-Log.spec
+++ b/php-horde-Horde-Log.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Log
-Version: 2.2.0
+Version: 2.3.0
Release: 1%{?dist}
Summary: Horde Logging library
@@ -93,11 +93,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
@@ -124,6 +136,9 @@ fi
%changelog
+* Mon Feb 27 2017 Remi Collet <remi@fedoraproject.org> - 2.3.0-1
+- Update to 2.3.0
+
* Tue Apr 05 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
- Update to 2.2.0