[perl-Class-Load] Conditionalize even tests.

Marcela Mašláňová mmaslano at fedoraproject.org
Tue Jun 26 14:07:43 UTC 2012


commit 402fcfcf593e882fcb79e1c997e23bead8968088
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Tue Jun 26 16:07:31 2012 +0200

    Conditionalize even tests.

 perl-Class-Load.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
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


More information about the scm-commits mailing list