[perl-Log-Log4perl] Disable optional tests on RHEL >= 7

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

 



commit 753c76abefab42d45f022d97567a98e8dff3b938
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Sep 26 12:01:54 2012 +0200

    Disable optional tests on RHEL >= 7

 perl-Log-Log4perl.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec
index ec8e996..bb097ca 100644
--- a/perl-Log-Log4perl.spec
+++ b/perl-Log-Log4perl.spec
@@ -1,6 +1,6 @@
 Name:           perl-Log-Log4perl
 Version:        1.38
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Log4j implementation for Perl
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -31,9 +31,11 @@ BuildRequires:  perl(XML::DOM)
 # Tests
 BuildRequires:  perl(Test::More) >= 0.45
 # Optional tests
+%if ! (0%{?rhel} >= 7)
 BuildRequires:  perl(DBD::CSV)
 BuildRequires:  perl(Log::Dispatch)
 BuildRequires:  perl(SQL::Statement)
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -67,6 +69,9 @@ make test L4P_ALL_TESTS=1
 
 
 %changelog
+* Wed Sep 26 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.38-2
+- Disable optional tests on RHEL >= 7
+
 * Wed Sep 26 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.38-1
 - 1.38 bump
 
--
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