File openstack-neutron-fwaas-doc.spec of Package openstack-neutron-fwaas-doc

# spec file for package openstack-neutron-fwaas-doc
# 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 neutron-fwaas

%define version_unconverted 13.0.3.dev4

Name:           openstack-neutron-fwaas-doc
Version:        13.0.3~dev4
Release:        0
Summary:        OpenStack Virtual Network Service (Neutron) - Documentation
License:        Apache-2.0
Group:          Documentation/HTML
BuildRequires:  openstack-suse-macros
BuildRequires:  python-Sphinx
BuildRequires:  python-neutron
BuildRequires:  python-neutron-fwaas
BuildRequires:  python-openstackdocstheme
BuildRequires:  python-oslosphinx
BuildRequires:  python-setuptools
BuildRequires:  python-sphinxcontrib-apidoc
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Neutron is a virtual network service for Openstack.

This package contains documentation files for openstack-%{component}

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

PBR_VERSION=%{version_unconverted} sphinx-build doc/source doc/build/html

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


%doc LICENSE doc/build/html/

openSUSE Build Service is sponsored by