summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-28 17:26:31 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-28 17:26:31 +0200
commit69afcc6f903cef071481f86f7e202410ff4f9120 (patch)
tree9cf9444b9ad430185a984da6526bb487889c1df0
parentf23138483c80ff7d68a88fbb76bb33eaa6332df7 (diff)
php-horde-Horde-Mime-Viewer: 2.2.0
-rw-r--r--php-horde-Horde-Mime-Viewer.spec26
1 files changed, 20 insertions, 6 deletions
diff --git a/php-horde-Horde-Mime-Viewer.spec b/php-horde-Horde-Mime-Viewer.spec
index 9fe55ef..58f205b 100644
--- a/php-horde-Horde-Mime-Viewer.spec
+++ b/php-horde-Horde-Mime-Viewer.spec
@@ -15,7 +15,7 @@
%global with_tests 0%{?_with_tests:1}
Name: php-horde-Horde-Mime-Viewer
-Version: 2.1.3
+Version: 2.2.0
Release: 1%{?dist}
Summary: Horde MIME Viewer Library
@@ -134,11 +134,22 @@ rm -rf %{buildroot}
%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
@@ -170,6 +181,9 @@ fi
%changelog
+* Thu Jul 28 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
+- Update to 2.2.0
+
* Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 2.1.3-1
- Update to 2.1.3
@@ -226,4 +240,4 @@ fi
- Update to 2.0.1 for remi repo
* Sun Nov 4 2012 Remi Collet <remi@fedoraproject.org> - 2.0.0-1
-- Initial package \ No newline at end of file
+- Initial package