Don't drop network tests

This commit is contained in:
Xavier Bachelot 2019-04-17 10:32:55 +02:00
parent 13703755b2
commit bce7242559

View File

@ -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 <xavier@bachelot.org> - 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 <releng@fedoraproject.org> - 0.54-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild