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

# spec file for package openstack-trove-doc
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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 trove
%define version_unconverted 10.0.1.dev3

Name:           openstack-%{component}-doc
Version:        10.0.1~dev3
Release:        0
Summary:        Openstack DBaaS (Trove) - Documentation
License:        Apache-2.0
Group:          Documentation/HTML
BuildRequires:  graphviz
BuildRequires:  openstack-suse-macros
BuildRequires:  python-Sphinx
BuildRequires:  python-base
BuildRequires:  python-openstackdocstheme
BuildRequires:  python-trove
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Openstack DBaaS Trove Documentation
This package contains documentation files for openstack-trove.

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

python build_sphinx
rm doc/build/html/.buildinfo # Remove unneeded files


%doc LICENSE doc/build/html