diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-31 18:46:07 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-31 18:46:07 +0100 |
commit | 04ec2f7ed873bd79e9b33c0f02603d4635b436bc (patch) | |
tree | 86a283f45a20429505866da26a5b5875d59c56ed /php-guzzlehttp-guzzle6.spec | |
parent | febe682c1abb0099dc07458d77c2cdf519196f3f (diff) |
php-guzzlehttp-guzzle6: no test on EL-5
Diffstat (limited to 'php-guzzlehttp-guzzle6.spec')
-rw-r--r-- | php-guzzlehttp-guzzle6.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php-guzzlehttp-guzzle6.spec b/php-guzzlehttp-guzzle6.spec index f8e9de4..30e9cb3 100644 --- a/php-guzzlehttp-guzzle6.spec +++ b/php-guzzlehttp-guzzle6.spec @@ -31,8 +31,13 @@ %global psr_log_min_ver 1.0.0-8 %global psr_log_max_ver 2.0 +%if 0%{?rhel} == 5 +# no nodejs available in RHEL-5 +%global with_tests 0%{?_with_tests:1} +%else # Build using "--without tests" to disable tests %global with_tests 0%{!?_without_tests:1} +%endif %{!?phpdir: %global phpdir %{_datadir}/php} %{!?testsdir: %global testsdir %{_datadir}/tests} |