summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-02 08:12:08 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-02 08:12:08 +0200
commitcbed0aac47930ce00fac08f19b0a2d66f4d072d4 (patch)
tree53f700a894da2bfa21ceacad125238b3f66f71ab
parent5d665435a922496a2e98181da01f2caa1d2f0678 (diff)
php-horde-Horde-Http: 2.1.7
-rw-r--r--php-horde-Horde-Http.spec23
1 files changed, 19 insertions, 4 deletions
diff --git a/php-horde-Horde-Http.spec b/php-horde-Horde-Http.spec
index f3fe293..f520904 100644
--- a/php-horde-Horde-Http.spec
+++ b/php-horde-Horde-Http.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Http
-Version: 2.1.6
+Version: 2.1.7
Release: 1%{?dist}
Summary: Horde HTTP libraries
@@ -90,11 +90,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
+* Sat Jul 02 2016 Remi Collet <remi@fedoraproject.org> - 2.1.7-1
+- Update to 2.1.7
+
* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.1.6-1
- Update to 2.1.6
- PHP 7 compatible version