summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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