summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Ldap.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-26 05:33:56 +0100
committerRemi Collet <remi@remirepo.net>2018-01-26 05:33:56 +0100
commit123e0e7c4ecd0c019e47e266c65371ca1adba44a (patch)
tree9fad64bfc21e97164b645f1cc09d1673d17fc0f8 /php-horde-Horde-Ldap.spec
parent7d4af2852fff9a82608042ffbf3071e7034c91ed (diff)
v2.4.1
Diffstat (limited to 'php-horde-Horde-Ldap.spec')
-rw-r--r--php-horde-Horde-Ldap.spec30
1 files changed, 11 insertions, 19 deletions
diff --git a/php-horde-Horde-Ldap.spec b/php-horde-Horde-Ldap.spec
index 8d87c45..2a96eeb 100644
--- a/php-horde-Horde-Ldap.spec
+++ b/php-horde-Horde-Ldap.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-horde-Horde-Ldap
#
-# Copyright (c) 2012-2017 Remi Collet
+# Copyright (c) 2012-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -11,7 +11,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Ldap
-Version: 2.4.0
+Version: 2.4.1
Release: 1%{?dist}
Summary: Horde LDAP libraries
@@ -20,7 +20,6 @@ License: LGPLv3
URL: http://pear.horde.org
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
@@ -76,21 +75,12 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-# 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
+for cmd in php php70 php71 php72; do
+ if which $cmd; then
+ $cmd %{_bindir}/phpunit --bootstrap bootstrap.php --verbose . || ret=1
+ fi
+done
exit $ret
@@ -106,15 +96,17 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Horde/Ldap
%{pear_phpdir}/Horde/Ldap.php
-%{pear_testdir}/%{pear_name}
+%doc %{pear_testdir}/%{pear_name}
%changelog
+* Fri Jan 26 2018 Remi Collet <remi@remirepo.net> - 2.4.1-1
+- Update to 2.4.1
+
* Mon Feb 27 2017 Remi Collet <remi@fedoraproject.org> - 2.4.0-1
- Update to 2.4.0