commit abb95cfc6d3a64ded4e9d8ce4c5364056a1e4d07 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Nov 4 13:35:54 2014 +0100 Disable live network tests by default perl-POE-Component-Client-DNS.spec | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) --- diff --git a/perl-POE-Component-Client-DNS.spec b/perl-POE-Component-Client-DNS.spec index 03ac55c..601747d 100644 --- a/perl-POE-Component-Client-DNS.spec +++ b/perl-POE-Component-Client-DNS.spec @@ -12,7 +12,9 @@ BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) +%{?_with_network_tests: BuildRequires: perl(lib) +} BuildRequires: perl(Net::DNS) >= 0.65 BuildRequires: perl(POE) >= 1.294 BuildRequires: perl(Scalar::Util) @@ -47,6 +49,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} + cp t/01_resolve.t example_resolve %check +%{?!_with_network_tests: rm t/01_resolve.t } make test %files -- 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