From 04ec2f7ed873bd79e9b33c0f02603d4635b436bc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 31 Jan 2016 18:46:07 +0100 Subject: php-guzzlehttp-guzzle6: no test on EL-5 --- php-guzzlehttp-guzzle6.spec | 5 +++++ 1 file changed, 5 insertions(+) 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} -- cgit