diff options
-rw-r--r-- | php-horde-Horde-Vfs.spec | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/php-horde-Horde-Vfs.spec b/php-horde-Horde-Vfs.spec index 2e8f6ce..0f0bb91 100644 --- a/php-horde-Horde-Vfs.spec +++ b/php-horde-Horde-Vfs.spec @@ -14,7 +14,7 @@ %global with_tests %{?_without_tests:0}%{!?_without_tests:1} Name: php-horde-Horde-Vfs -Version: 2.3.0 +Version: 2.3.1 Release: 1%{?dist} Summary: Virtual File System API @@ -32,7 +32,7 @@ BuildRequires: gettext %if %{with_tests} # To run unit tests BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0 -BuildRequires: php-pear(%{pear_channel}/Horde_Db) >= 2.1.0 +BuildRequires: php-pear(%{pear_channel}/Horde_Db) >= 2.2.0 %endif Requires(post): %{__pear} @@ -132,7 +132,11 @@ cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) sed -e 's/testDeleteUnusalFileNames/SKIP_testDeleteUnusalFileNames/' \ -i FileTest.php -phpunit . +%{_bindir}/phpunit . + +if which php70; then + php70 %{_bindir}/phpunit . +fi %else : Test disabled %endif @@ -163,6 +167,11 @@ fi %changelog +* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.3.1-1 +- Update to 2.3.1 +- PHP 7 compatible version +- run test suite with both PHP 5 and 7 when available + * Fri Jul 31 2015 Remi Collet <remi@fedoraproject.org> - 2.3.0-1 - Update to 2.3.0 |