[perl-HTML-Tree] Do not build-require Test::LeakTrace on RHEL >= 7

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

 



commit d50bbd5f8c6f26d2cc0e5523054140037dab5692
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Tue Oct 16 17:28:27 2012 +0200

    Do not build-require Test::LeakTrace on RHEL >= 7

 perl-HTML-Tree.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-HTML-Tree.spec b/perl-HTML-Tree.spec
index bfb3db6..7e1f838 100644
--- a/perl-HTML-Tree.spec
+++ b/perl-HTML-Tree.spec
@@ -1,7 +1,7 @@
 Name:           perl-HTML-Tree
 Epoch:          1
 Version:        5.02
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        HTML tree handling modules for Perl
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -19,9 +19,11 @@ BuildRequires:  perl(Test::Fatal)
 %if !%{defined perl_bootstrap}
 # HTML::FormatText (perl-HTML-Format) has BR: perl(HTML::TreeBuilder) from this package
 BuildRequires:  perl(HTML::FormatText)
+%if ! (0%{?rhel} >= 7)
 # perl-Test-LeakTrace -> perl-Test-Valgrind -> perl-XML-Twig -> perl-HTML-Tree
 BuildRequires:  perl(Test::LeakTrace)
 %endif
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(HTML::Parser) >= 3.46
 Requires:       perl(HTML::Tagset) >= 3.02
@@ -54,6 +56,9 @@ perl Build.PL installdirs=vendor
 %{_mandir}/man3/HTML::*3*
 
 %changelog
+* Tue Oct 16 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1:5.02-6
+- Do not build-require Test::LeakTrace on RHEL >= 7
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1:5.02-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
--
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