From 402fcfcf593e882fcb79e1c997e23bead8968088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Tue, 26 Jun 2012 16:07:31 +0200 Subject: [PATCH] Conditionalize even tests. --- perl-Class-Load.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/perl-Class-Load.spec b/perl-Class-Load.spec index 1688691..b7a1352 100644 --- a/perl-Class-Load.spec +++ b/perl-Class-Load.spec @@ -87,7 +87,11 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_fixperms} %{buildroot} %check -make test %{!?perl_bootstrap:RELEASE_TESTING=1} +%if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7 +make test RELEASE_TESTING=1 +%else +make test +%endif %files %doc Changes LICENSE README