Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Upstream:Zed
python-os-faults
python-os-faults.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-os-faults.spec of Package python-os-faults
# # spec file for package python-os-faults # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python-os-faults Version: 0.2.7 Release: 0 Summary: OpenStack fault-injection library License: Apache-2.0 Group: Development/Languages/Python URL: https://os-faults.readthedocs.io Source0: https://files.pythonhosted.org/packages/source/o/os-faults/os_faults-%{version}.tar.gz BuildRequires: ansible >= 2.2 BuildRequires: openstack-macros BuildRequires: python39-PyYAML BuildRequires: python39-appdirs BuildRequires: python39-click BuildRequires: python39-ddt BuildRequires: python39-iso8601 BuildRequires: python39-jsonschema BuildRequires: python39-libvirt-python BuildRequires: python39-mock BuildRequires: python39-oslo.concurrency BuildRequires: python39-oslo.i18n BuildRequires: python39-oslo.serialization BuildRequires: python39-oslo.utils BuildRequires: python39-oslotest BuildRequires: python39-pbr BuildRequires: python39-pyghmi BuildRequires: python39-pytest BuildRequires: python39-python-subunit BuildRequires: python39-six BuildRequires: python39-stestr BuildRequires: python39-testscenarios BuildRequires: python39-testtools Requires: ansible >= 2.2 Requires: python39-PyYAML Requires: python39-appdirs Requires: python39-click Requires: python39-iso8601 Requires: python39-jsonschema Requires: python39-oslo.concurrency Requires: python39-oslo.i18n Requires: python39-oslo.serialization Requires: python39-oslo.utils Requires: python39-pbr Requires: python39-pyghmi Requires: python39-six BuildArch: noarch %if ! 0%{?rhel} Recommends: python39-libvirt-python %endif %description The library does destructive actions inside an OpenStack cloud. It provides an abstraction layer over different types of cloud deployments. The actions are implemented as drivers (e.g. DevStack driver, Fuel driver, Libvirt driver, IPMI driver). %package doc Summary: Documentation for OpenStack faults Library Group: Documentation/HTML BuildRequires: python39-Sphinx BuildRequires: python39-openstackdocstheme BuildRequires: python39-reno BuildRequires: python39-sphinx_rtd_theme %if ! 0%{?rdo} # this package its dependency js-jquery is not available for RDO BuildRequires: python39-sphinxcontrib-programoutput %endif %description doc The library does destructive actions inside an OpenStack cloud. It provides an abstraction layer over different types of cloud deployments. The actions are implemented as drivers (e.g. DevStack driver, Fuel driver, Libvirt driver, IPMI driver). This package contains the documentation. %prep %autosetup -p1 -n os_faults-%{version} %py_req_cleanup %if 0%{?rdo} sed -i '/sphinxcontrib.programoutput/d' doc/source/conf.py sed -i '/sphinx.ext.autosectionlabel/d' doc/source/conf.py %endif %build %{py3_build} PBR_VERSION=0.2.7 PYTHONPATH=. %sphinx_build -b html doc/source doc/build/html rm -rf doc/build/html/.{doctrees,buildinfo} %install %{py3_install} %check export PYTHONPATH=. export PATH=$PATH:%{buildroot}%{_bindir} python3 -m pytest -vvvv --durations=10 "os_faults/tests/unit" %files %doc README.rst ChangeLog %license LICENSE %{_bindir}/os-inject-fault %{_bindir}/os-faults %{python3_sitelib}/os_faults* %files doc %if ! 0%{?rdo} %doc doc/build/html %endif %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor