1
0
2020-03-18 20:51:16 +00:00
committed by Git OBS Bridge
parent 8cd8b9b270
commit 1557996af3

View File

@@ -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