[perl-IO-Prompt] Conditionalize test dependencies

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

 



commit 2ec35902db965c1222cfdae8da87a78ff5dcf4f0
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Nov 7 11:29:04 2012 +0100

    Conditionalize test dependencies

 perl-IO-Prompt.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/perl-IO-Prompt.spec b/perl-IO-Prompt.spec
index 0c76ea2..1d81b49 100644
--- a/perl-IO-Prompt.spec
+++ b/perl-IO-Prompt.spec
@@ -13,6 +13,7 @@ Source0:        http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/IO-Prompt-%{
 URL:            http://search.cpan.org/dist/IO-Prompt
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
+%if %{with check}
 # Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(IO::Handle)
@@ -25,6 +26,7 @@ BuildRequires:  perl(Test::More)
 # Optional tests:
 BuildRequires:  perl(Test::Pod) >= 1.14
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
--
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