forked from pool/python-openstacksdk
- added 0001-add-python-3.7-unit-test-job.patch
- added 0001-baremetal-Add-support-for-mkisofs-and-xorrisofs-for-.patch OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-openstacksdk?expand=0&rev=31
This commit is contained in:
@@ -24,6 +24,10 @@ License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://launchpad.net/openstacksdk
|
||||
Source0: https://files.pythonhosted.org/packages/source/o/openstacksdk/openstacksdk-0.27.0.tar.gz
|
||||
# https://review.openstack.org/#/c/651119/
|
||||
Patch0: 0001-add-python-3.7-unit-test-job.patch
|
||||
# https://review.openstack.org/#/c/651193/
|
||||
Patch1: 0001-baremetal-Add-support-for-mkisofs-and-xorrisofs-for-.patch
|
||||
BuildRequires: openstack-macros
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python2-PyYAML >= 3.12
|
||||
@@ -155,6 +159,10 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||
%postun
|
||||
%python_uninstall_alternative openstack-inventory
|
||||
|
||||
%check
|
||||
export OS_LOG_CAPTURE=true
|
||||
%python_exec -m stestr.cli run
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc ChangeLog README.rst
|
||||
|
||||
Reference in New Issue
Block a user