summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-20 07:25:29 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-20 07:25:29 +0100
commitfead7c6e2b8b8ade299c1380ef62fbf9a6048c49 (patch)
treefa8184bff76d9fbc1832629174e775fcf759051c
parent0a3a3e4156e601b5423586c6d9443337cfe9acde (diff)
php-horde-Horde-Pack: 1.0.7
-rw-r--r--php-horde-Horde-Pack.spec26
1 files changed, 20 insertions, 6 deletions
diff --git a/php-horde-Horde-Pack.spec b/php-horde-Horde-Pack.spec
index 73e67a9..2aac313 100644
--- a/php-horde-Horde-Pack.spec
+++ b/php-horde-Horde-Pack.spec
@@ -12,7 +12,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Pack
-Version: 1.0.6
+Version: 1.0.7
Release: 1%{?dist}
Summary: Horde Pack Utility
@@ -95,11 +95,22 @@ sed -e 's/function testNonUtf8Pack/function SKIP_testNonUtf8Pack/' \
-i PackTest.php
%endif
-%{_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
%clean
@@ -127,6 +138,9 @@ fi
%changelog
+* Tue Dec 20 2016 Remi Collet <remi@fedoraproject.org> - 1.0.7-1
+- Update to 1.0.7
+
* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 1.0.6-1
- Update to 1.0.6
- PHP 7 compatible version
@@ -148,4 +162,4 @@ fi
- Update to 1.0.1
* Sat Jan 18 2014 Remi Collet <remi@fedoraproject.org> - 1.0.0-1
-- initial package \ No newline at end of file
+- initial package