[perl-Perl-OSType] Disable optional tests on RHEL 7 too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 29a14f0fed9c6918c52765f58ee7d41a312dc9e7
Author: Petr Písař <ppisar@xxxxxxxxxx>
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@xxxxxxxxxx> - 1.003-2
+- Disable optional tests on RHEL 7 too
+
 * Thu Mar 21 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 1.003-1
 - Update to 1.003
   - Fixed detection of VOS; $^O reports 'vos', not 'VOS'
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux