diff options
-rw-r--r-- | php-nette-database.spec | 5 |
1 files changed, 5 insertions, 0 deletions
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 |