Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:suse-cloud-ci:rpm-packaging-sles15-Victoria-95fd292b9f866ae630dd1b838a53c69c9dd3055b
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: python3-PyYAML BuildRequires: python3-appdirs BuildRequires: python3-click BuildRequires: python3-ddt BuildRequires: python3-iso8601 BuildRequires: python3-jsonschema BuildRequires: python3-libvirt-python BuildRequires: python3-mock BuildRequires: python3-oslo.concurrency BuildRequires: python3-oslo.i18n BuildRequires: python3-oslo.serialization BuildRequires: python3-oslo.utils BuildRequires: python3-oslotest BuildRequires: python3-pbr BuildRequires: python3-pyghmi BuildRequires: python3-pytest BuildRequires: python3-python-subunit BuildRequires: python3-six BuildRequires: python3-stestr BuildRequires: python3-testscenarios BuildRequires: python3-testtools Requires: ansible >= 2.2 Requires: python3-PyYAML Requires: python3-appdirs Requires: python3-click Requires: python3-iso8601 Requires: python3-jsonschema Requires: python3-oslo.concurrency Requires: python3-oslo.i18n Requires: python3-oslo.serialization Requires: python3-oslo.utils Requires: python3-pbr Requires: python3-pyghmi Requires: python3-six BuildArch: noarch %if ! 0%{?rhel} Recommends: python3-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: python3-Sphinx BuildRequires: python3-openstackdocstheme BuildRequires: python3-reno BuildRequires: python3-sphinx_rtd_theme %if ! 0%{?rdo} # this package its dependency js-jquery is not available for RDO BuildRequires: python3-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