From 89166e8d1affe03153271912455ea823f3573575 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Apr 2016 17:44:37 +0200 Subject: php-horde-Horde-Kolab-Storage: minor tweak --- php-horde-Horde-Kolab-Storage.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 . || : -- cgit