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