%global srcname upt-pypi Name: python-upt-pypi Version: 0.4 Release: 1%{?dist} Summary: PyPI front-end for upt License: BSD URL: https://framagit.org/upt/upt-pypi Source0: %pypi_source BuildArch: noarch %description PyPI front-end for upt. %package -n python%{python3_pkgversion}-%{srcname} Summary: PyPI front-end for upt BuildRequires: python%{python3_pkgversion}-devel Requires: python%{python3_pkgversion}-requests %description -n python%{python3_pkgversion}-%{srcname} PyPI front-end for upt. %prep %setup -q -n %{srcname}-%{version} %build %py3_build %install %py3_install %files -n python%{python3_pkgversion}-%{srcname} %doc README.md CHANGELOG %license LICENSE %{python3_sitelib}/upt_pypi-*.egg-info %{python3_sitelib}/upt_pypi/ %changelog * Sun Sep 29 2019 Jeremy Bertozzi - 0.4-1 - Initial package