%global sname oslosphinx Name: {{ py2name('oslosphinx') }} Version: 4.15.2 Release: 0 Summary: OpenStack Sphinx License: {{ license('Apache-2.0') }} Group: Development/Languages/Python Url: https://launchpad.net/oslosphinx Source0: https://files.pythonhosted.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz BuildRequires: openstack-macros BuildRequires: {{ py2pkg('devel') }} BuildRequires: {{ py2pkg('pbr') }} BuildRequires: {{ py2pkg('setuptools') }} Requires: {{ py2pkg('pbr') }} Requires: {{ py2pkg('requests') }} Requires: {{ py2pkg('six') }} BuildArch: noarch %description The Oslo Sphinx library provides an OpenStack common layer of Sphinx plugins. %prep %autosetup -n %{sname}-%{version} %py_req_cleanup %build %{py2_build} %install %{py2_install} %files %doc README.rst %license LICENSE %{python2_sitelib}/%{sname} %{python2_sitelib}/*.egg-info %changelog