File openstack-aodh-doc.spec of Package openstack-aodh-doc

# spec file
# 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

%define component aodh

%define version_unconverted 7.0.1.dev5

Name:           openstack-%{component}-doc
Version:        7.0.1~dev5
Release:        0
Summary:        Alarm engine of the Ceilometer project - Documentation
License:        Apache-2.0
Group:          Documentation/HTML
BuildRequires:  graphviz
BuildRequires:  openstack-suse-macros
BuildRequires:  python-Sphinx
BuildRequires:  python-aodh = %{version}
BuildRequires:  python-cotyledon
BuildRequires:  python-openstackdocstheme
BuildRequires:  python-oslosphinx
BuildRequires:  python-reno
BuildRequires:  python-sphinxcontrib-httpdomain
BuildRequires:  python-sphinxcontrib-pecanwsme
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Aodh is the alarm engine of the Ceilometer project.

This package contains documentation files for %{name}.

%setup -q -n aodh-%{version_unconverted}
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg

python build_sphinx
rm build/sphinx/html/.buildinfo


%doc LICENSE build/sphinx/html

openSUSE Build Service is sponsored by