summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/composer.spec b/composer.spec
index 68cd0c1..9223129 100644
--- a/composer.spec
+++ b/composer.spec
@@ -190,6 +190,10 @@ install -Dpm 755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%check
%if %{with_tests}
+%if 0%{?rhel} == 5
+rm tests/Composer/Test/Downloader/XzDownloaderTest.php
+%endif
+
: Run test suite
export BUILDROOT=%{buildroot}
%{_bindir}/phpunit --include-path %{buildroot}%{_datadir}/php --verbose