diff options
-rw-r--r-- | php-horde-Horde-Mail.spec | 4 |
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 |