%global srcname furo Name: python-%{srcname} Version: 2020.12.30b24 Release: 1%{?dist} Summary: A clean customizable documentation theme for Sphinx License: MIT URL: https://github.com/pradyunsg/%{srcname}/ Source0: %{pypi_source} # Fix compatible release clauses not supported by pip (called by # %%pyproject_buildrequires) Patch0: %{name}-2020.12.30b24-requirements.patch BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel BuildArch: noarch %description %{summary}. %package -n python3-%{srcname} Summary: %{summary} %py_provides python3-%{srcname} %description -n python3-%{srcname} %{summary}. %generate_buildrequires %pyproject_buildrequires %prep %autosetup -n %{srcname}-%{version} %build %pyproject_wheel %install %pyproject_install %files -n python3-%{srcname} %doc README.md %license LICENSE %{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}-%{version}.dist-info/ %changelog * Tue Jan 05 2021 Mohamed El Morabity - 2020.12.30b24-1 - Initial RPM release