summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Ldap.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-27 13:37:29 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-27 13:37:29 +0100
commit7d4af2852fff9a82608042ffbf3071e7034c91ed (patch)
treee7d87d81982b3b1a5d3f17b9e4207e8a15c95076 /php-horde-Horde-Ldap.spec
parent93c779cb4daf4feebfd9a47d79832a111a88cab8 (diff)
php-horde-Horde-Ldap: 2.4.0
Diffstat (limited to 'php-horde-Horde-Ldap.spec')
-rw-r--r--php-horde-Horde-Ldap.spec23
1 files changed, 19 insertions, 4 deletions
diff --git a/php-horde-Horde-Ldap.spec b/php-horde-Horde-Ldap.spec
index d109b33..8d87c45 100644
--- a/php-horde-Horde-Ldap.spec
+++ b/php-horde-Horde-Ldap.spec
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Ldap
-Version: 2.3.2
+Version: 2.4.0
Release: 1%{?dist}
Summary: Horde LDAP libraries
@@ -75,11 +75,23 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
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
%post
@@ -103,6 +115,9 @@ fi
%changelog
+* Mon Feb 27 2017 Remi Collet <remi@fedoraproject.org> - 2.4.0-1
+- Update to 2.4.0
+
* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.3.2-1
- Update to 2.3.2
- PHP 7 compatible version