%global pypi_name Pallets-Sphinx-Themes Name: python-%{pypi_name} Version: 1.2.2 Release: 5%{?dist} Summary: Sphinx themes for Pallets and related projects License: BSD URL: https://github.com/pallets/pallets-sphinx-themes/ Source0: https://files.pythonhosted.org/packages/source/P/%{pypi_name}/%{pypi_name}-%{version}.tar.gz Patch0: importlib_metadata_py38.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description Pallets Sphinx Themes Themes for the Pallets projects. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3-sphinx Requires: python3-setuptools %description -n python3-%{pypi_name} Pallets Sphinx Themes Themes for the Pallets projects. %prep %autosetup -n %{pypi_name}-%{version} -p1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE.rst %doc README.rst CHANGES.rst %{python3_sitelib}/pallets_sphinx_themes %{python3_sitelib}/Pallets_Sphinx_Themes-*.egg-info/ %changelog * Sat May 23 2020 Miro HronĨok - 1.2.2-5 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 11 2019 Rick Elrod - 1.2.2-3 - Fix dependency issue for python >=3.8 * Mon Nov 4 2019 Rick Elrod - 1.2.2-2 - Fix files section for python >=3.10 * Mon Nov 4 2019 Rick Elrod - 1.2.2-1 - Latest upstream - Remove python 2 stuff, to follow Fedora packaging guidelines * Sat Apr 28 2018 Rick Elrod - 1.0.0-1 - Initial package.