Name: python-roundrobin Version: 0.0.2 Release: 1%{?dist} Summary: Rather small collection of round robin utilites License: MIT URL: https://github.com/linnik/roundrobin Source: %{pypi_source roundrobin} Source: https://raw.githubusercontent.com/linnik/roundrobin/master/LICENSE Source: https://raw.githubusercontent.com/linnik/roundrobin/master/test.py BuildArch: noarch BuildRequires: python3-devel # required for tests BuildRequires: python3-pytest %global _description %{expand: This is rather small collection of round robin utilites} %description %_description %package -n python3-roundrobin Summary: %{summary} %description -n python3-roundrobin %_description %prep %autosetup -p1 -n roundrobin-%{version} cp -a %{SOURCE1} LICENSE cp -a %{SOURCE2} test.py %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %check %pytest test.py # swap to GH once upstream tags releases there # https://github.com/linnik/roundrobin/issues/3 %files -n python3-roundrobin %doc README.* %license LICENSE %{python3_sitelib}/roundrobin/ %{python3_sitelib}/roundrobin-%{version}.dist-info/ %changelog * Sun Aug 07 2022 Jonathan Wright - 0.0.2-1 - Initial package build