[perl-Perl-OSType] Disable optional tests on RHEL 7 too
Petr Pisar
ppisar at fedoraproject.org
Thu Mar 21 12:38:30 UTC 2013
commit 29a14f0fed9c6918c52765f58ee7d41a312dc9e7
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Mar 21 13:37:53 2013 +0100
Disable optional tests on RHEL 7 too
perl-Perl-OSType.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Perl-OSType.spec b/perl-Perl-OSType.spec
index 2768273..da4e9dd 100644
--- a/perl-Perl-OSType.spec
+++ b/perl-Perl-OSType.spec
@@ -13,7 +13,7 @@
Name: perl-Perl-OSType
Version: 1.003
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Map Perl operating system names to generic types
License: GPL+ or Artistic
Group: Development/Libraries
@@ -35,7 +35,7 @@ BuildRequires: perl(List::Util)
BuildRequires: perl(Test::More)
# Optional tests, not run for this dual-lived module when bootstrapping
# Also not run for EPEL-5/6 builds due to package unavailability
-%if !%{defined perl_bootstrap} && ( 0%{?fedora} || 0%{?rhel} > 6 )
+%if !%{defined perl_bootstrap} && 0%{?fedora}
BuildRequires: perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire)
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Pod::Wordlist::hanekomu)
@@ -86,7 +86,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%check
make test
-%if !%{defined perl_bootstrap} && ( 0%{?fedora} || 0%{?rhel} > 6 )
+%if !%{defined perl_bootstrap} && 0%{?fedora}
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%endif
@@ -99,6 +99,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/Perl::OSType.3pm*
%changelog
+* Thu Mar 21 2013 Petr Pisar <ppisar at redhat.com> - 1.003-2
+- Disable optional tests on RHEL 7 too
+
* Thu Mar 21 2013 Paul Howarth <paul at city-fan.org> - 1.003-1
- Update to 1.003
- Fixed detection of VOS; $^O reports 'vos', not 'VOS'
More information about the perl-devel
mailing list