From 7731801ca2d72a9be17913cfd0fa19be0968b2f1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Jun 2016 08:31:16 +0200 Subject: php-nette-database: skip test on EL-6 for official repo --- php-nette-database.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'php-nette-database.spec') diff --git a/php-nette-database.spec b/php-nette-database.spec index 40a41c5..47f4032 100644 --- a/php-nette-database.spec +++ b/php-nette-database.spec @@ -14,7 +14,12 @@ %global ns_vendor Nette %global ns_project Database %global php_home %{_datadir}/php +%if 0%{?rhel} == 6 +# mockery is too old +%global with_tests 0%{?_with_tests:1} +%else %global with_tests 0%{!?_without_tests:1} +%endif Name: php-%{gh_owner}-%{gh_project} Version: 2.3.9 -- cgit