From bce7242559ad5ee6fbe64ec4853990f7cb5c0dca Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Wed, 17 Apr 2019 10:32:55 +0200 Subject: [PATCH] Don't drop network tests --- perl-Mail-DKIM.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-Mail-DKIM.spec b/perl-Mail-DKIM.spec index 82fde02..ad8979f 100644 --- a/perl-Mail-DKIM.spec +++ b/perl-Mail-DKIM.spec @@ -24,6 +24,7 @@ BuildRequires: perl(Net::DNS) BuildRequires: perl(Net::DNS::Resolver::Mock) BuildRequires: perl(strict) BuildRequires: perl(Test::More) +BuildRequires: perl(Test::RequiresInternet) BuildRequires: perl(Test::Simple) BuildRequires: perl(warnings) BuildRequires: perl(YAML::XS) @@ -56,8 +57,6 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check -# Conditionally disable tests that require DNS lookups -%{?!_with_network_tests: rm t/policy.t t/public_key.t } make test %files @@ -68,6 +67,7 @@ make test %changelog * Wed Apr 17 2019 Xavier Bachelot - 0.55-1 - Update to 0.55. +- Don't drop network dependent tests, build checks for internet access. * Fri Feb 01 2019 Fedora Release Engineering - 0.54-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild