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