summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-28 17:16:51 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-28 17:16:51 +0200
commitb0aca4d479aa64617c7912d15b1891ed8f64d39a (patch)
tree54a294a7086d1bb8c7ca4646aeb704fff95b42c5
parent6e55738f33834ac388313f3bb0c5025c342ca2f5 (diff)
php-horde-Horde-Auth: 2.2.0
-rw-r--r--php-horde-Horde-Auth.spec22
1 files changed, 18 insertions, 4 deletions
diff --git a/php-horde-Horde-Auth.spec b/php-horde-Horde-Auth.spec
index 1ff45e5..b85e250 100644
--- a/php-horde-Horde-Auth.spec
+++ b/php-horde-Horde-Auth.spec
@@ -12,7 +12,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Auth
-Version: 2.1.12
+Version: 2.2.0
Release: 1%{?dist}
Summary: Horde Authentication API
@@ -120,15 +120,26 @@ done | tee ../%{pear_name}.lang
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:)
+# remirepo:11
+run=0
+ret=0
+if which php56; then
+ php56 %{_bindir}/phpunit . || : ignore
+ run=1
+fi
+if which php71; then
+ php71 %{_bindir}/phpunit . || ret=1
+ run=1
+fi
+if [ $run -eq 0 ]; then
# hex2bin is 5.4 only
if php -r 'exit(function_exists("hex2bin") ? 0 : 1);'
then %{_bindir}/phpunit .
else : test ignored
fi
-
-if which php70
-then php70 %{_bindir}/phpunit .
+# remirepo:2
fi
+exit $ret
%post
@@ -155,6 +166,9 @@ fi
%changelog
+* Thu Jul 28 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
+- Update to 2.2.0
+
* Tue Apr 05 2016 Remi Collet <remi@fedoraproject.org> - 2.1.12-1
- Update to 2.1.12