forked from pool/cloud-init
This commit is contained in:
parent
8b2fc9d626
commit
b273cfa277
@ -55,6 +55,7 @@ BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# pkg-config is needed to find correct systemd unit dir
|
||||
BuildRequires: pkg-config
|
||||
%if 0%{?suse_version} > 1320
|
||||
# Test requirements
|
||||
BuildRequires: python-Cheetah
|
||||
BuildRequires: python-Jinja2
|
||||
@ -69,6 +70,7 @@ BuildRequires: python-mock
|
||||
BuildRequires: python-oauthlib
|
||||
BuildRequires: python-requests
|
||||
BuildRequires: python-testtools
|
||||
%endif
|
||||
Requires: bash
|
||||
Requires: file
|
||||
Requires: growpart
|
||||
@ -179,13 +181,15 @@ echo "ssh_genkeytypes: ['rsa', 'dsa']" >> %{SOURCE1}
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1320
|
||||
%check
|
||||
# these tests are currently failing due to suse patches
|
||||
rm -v tests/unittests/test_distros/test_netconfig.py
|
||||
rm -v tests/unittests/test_net.py
|
||||
rm -v tests/unittests/test_datasource/test_opennebula.py
|
||||
python -m testtools.run
|
||||
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user