Don't drop network tests
This commit is contained in:
parent
13703755b2
commit
bce7242559
@ -24,6 +24,7 @@ BuildRequires: perl(Net::DNS)
|
|||||||
BuildRequires: perl(Net::DNS::Resolver::Mock)
|
BuildRequires: perl(Net::DNS::Resolver::Mock)
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::RequiresInternet)
|
||||||
BuildRequires: perl(Test::Simple)
|
BuildRequires: perl(Test::Simple)
|
||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
BuildRequires: perl(YAML::XS)
|
BuildRequires: perl(YAML::XS)
|
||||||
@ -56,8 +57,6 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Conditionally disable tests that require DNS lookups
|
|
||||||
%{?!_with_network_tests: rm t/policy.t t/public_key.t }
|
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -68,6 +67,7 @@ make test
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Apr 17 2019 Xavier Bachelot <xavier@bachelot.org> - 0.55-1
|
* Wed Apr 17 2019 Xavier Bachelot <xavier@bachelot.org> - 0.55-1
|
||||||
- Update to 0.55.
|
- 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
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.54-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user