summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-02 13:48:18 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-02 13:48:18 +0100
commitb672091796c1d57fbfd5d89fc218d7f1238bb876 (patch)
tree827d325869e9acc3a67e7ecf42f45fed678a3a03
parentf442371d18eca16ca80a0f5a82a83ff4a4da1d8e (diff)
php-horde-Horde-Vfs: 2.3.1
-rw-r--r--php-horde-Horde-Vfs.spec15
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