From 580fb351360062b1e1ce0be9bcf8506fbb057de6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Aug 2017 16:48:11 +0200 Subject: v2.2.6 --- php-horde-Horde-Url.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'php-horde-Horde-Url.spec') diff --git a/php-horde-Horde-Url.spec b/php-horde-Horde-Url.spec index d30a89e..71941d1 100644 --- a/php-horde-Horde-Url.spec +++ b/php-horde-Horde-Url.spec @@ -18,7 +18,7 @@ %endif Name: php-horde-Horde-Url -Version: 2.2.5 +Version: 2.2.6 Release: 1%{?dist} Summary: Horde Url class @@ -27,7 +27,6 @@ License: LGPLv2 URL: http://%{pear_channel} Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: php(language) >= 5.3.0 BuildRequires: php-pear(PEAR) >= 1.7.0 @@ -80,11 +79,13 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check %if %{with_tests} cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) -%{_bindir}/phpunit . - -if which php70; then - php70 %{_bindir}/phpunit . -fi +ret=0 +for cmd in php php56 php70 php71 php72; do + if which $cmd; then + $cmd %{_bindir}/phpunit --verbose . || ret=1 + fi +done +exit $ret %else : Test disabled, missing '--with tests' option. %endif @@ -101,15 +102,17 @@ if [ $1 -eq 0 ] ; then fi %files -%defattr(-,root,root,-) %{pear_xmldir}/%{name}.xml %{pear_phpdir}/Horde/Url %{pear_phpdir}/Horde/Url.php -%{pear_testdir}/Horde_Url +%doc %{pear_testdir}/Horde_Url %doc %{pear_docdir}/Horde_Url %changelog +* Tue Aug 1 2017 Remi Collet - 2.2.6-1 +- Update to 2.2.6 + * Tue Feb 02 2016 Remi Collet - 2.2.5-1 - Update to 2.2.5 - PHP 7 compatible version -- cgit