diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-06-01 08:31:16 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-06-01 08:31:16 +0200 |
commit | 7731801ca2d72a9be17913cfd0fa19be0968b2f1 (patch) | |
tree | 5dae6aa17b2baee4fd3615967034ed8f01fb63d0 | |
parent | 277ea4076d31f3b271329ba0bbcf6ea7565bd815 (diff) |
php-nette-database: skip test on EL-6 for official repo
-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 |