diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-04-05 17:44:37 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-04-05 17:44:37 +0200 |
commit | 89166e8d1affe03153271912455ea823f3573575 (patch) | |
tree | 56726164e512d7a959060bf385b096afa7f581c9 | |
parent | db2bdea9ed0cf44449d10c020aec8b5856fba525 (diff) |
php-horde-Horde-Kolab-Storage: minor tweak
-rw-r--r-- | php-horde-Horde-Kolab-Storage.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/php-horde-Horde-Kolab-Storage.spec b/php-horde-Horde-Kolab-Storage.spec index 138f732..5b6fb87 100644 --- a/php-horde-Horde-Kolab-Storage.spec +++ b/php-horde-Horde-Kolab-Storage.spec @@ -141,7 +141,10 @@ sed -e "s/Horde_Kolab_Format_Xml-@version@/Horde_Kolab_Format_Xml-${VER}/" \ -i ComponentTest/Data/Object/Message/ModifiedTest.php \ ComponentTest/Data/Object/Message/NewTest.php -%{_bindir}/phpunit . +if phpunit --atleast-version 4 +then %{_bindir}/phpunit . +else : PHPUnit is too old +fi if which php70; then php70 %{_bindir}/phpunit . || : |