summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-17 11:13:03 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-17 11:13:03 +0100
commit7ddee56cc305ec4f5e41d926a42f9e44ffbcf5a6 (patch)
treed88f6014517e39682add85b1974f8d0f43cd1ee2
parent4c19182d9fe2ddc917d60de0b524bf73bbd779e1 (diff)
php-horde-Horde-Mail: fix Horde_Test requirement
-rw-r--r--php-horde-Horde-Mail.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/php-horde-Horde-Mail.spec b/php-horde-Horde-Mail.spec
index a47632f..a77865f 100644
--- a/php-horde-Horde-Mail.spec
+++ b/php-horde-Horde-Mail.spec
@@ -22,7 +22,7 @@ BuildRequires: php-pear
BuildRequires: php-channel(%{pear_channel})
%if %{with_tests}
# To run unit tests
-BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.0.0
+BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
%endif
Requires(post): %{__pear}
@@ -86,7 +86,7 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit AllTests.php
+phpunit .
%else
: Test disabled, missing '--with tests' option.
%endif