forked from pool/python-openstacksdk
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=39
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
# and cause timeouts due to swapping. Disabling for now
|
||||
%define with_tests 0
|
||||
Name: python-openstacksdk
|
||||
Version: 0.36.0
|
||||
Release: 0
|
||||
@@ -110,7 +112,7 @@ Summary: %{summary} - Documentation
|
||||
Group: Documentation/HTML
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-openstackdocstheme
|
||||
Requires: %{name} = %{version}
|
||||
Requires: python3-openstacksdk = %{version}
|
||||
|
||||
%description -n python-openstacksdk-doc
|
||||
The openstacksdk is a library for building applications to work
|
||||
@@ -140,10 +142,12 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%if 0%{?with_tests}
|
||||
%check
|
||||
export OS_LOG_CAPTURE=true
|
||||
export OS_TEST_TIMEOUT=30
|
||||
python3 -m stestr.cli run
|
||||
%endif
|
||||
|
||||
%files -n python3-openstacksdk
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user