summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Crypt.spec24
1 files changed, 19 insertions, 5 deletions
diff --git a/php-horde-Horde-Crypt.spec b/php-horde-Horde-Crypt.spec
index 9c13934..d9d4806 100644
--- a/php-horde-Horde-Crypt.spec
+++ b/php-horde-Horde-Crypt.spec
@@ -12,7 +12,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Crypt
-Version: 2.7.3
+Version: 2.7.4
Release: 1%{?dist}
Summary: Horde Cryptography API
@@ -115,11 +115,22 @@ cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
: Skip online test
rm PgpKeyserverTest.php
-%{_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
%post
@@ -145,6 +156,9 @@ fi
%changelog
+* Sun Dec 04 2016 Remi Collet <remi@fedoraproject.org> - 2.7.4-1
+- Update to 2.7.4
+
* Tue Apr 05 2016 Remi Collet <remi@fedoraproject.org> - 2.7.3-1
- Update to 2.7.3