%global srcname allpairspy Name: python-%{srcname} Version: 2.5.0 Release: 3%{?dist} Summary: Pairwise test combinations generator License: MIT URL: https://github.com/thombashi/allpairspy Source0: %{pypi_source} #https://github.com/thombashi/allpairspy/pull/9 Source1: https://raw.githubusercontent.com/thombashi/allpairspy/v2.5.0/LICENSE.txt BuildArch: noarch %description %{summary}. %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-six BuildRequires: python3-pytest %description -n python3-%{srcname} %{summary}. %prep %setup -q -n %{srcname}-%{version} rm -rf %{srcname}.egg-info chmod -R -x+X . install -m 644 %{SOURCE1} . %build %py3_build %install %py3_install %check %{pytest} %files -n python3-%{srcname} %doc README.rst %license LICENSE.txt %{python3_sitelib}/%{srcname}-*.egg-info/ %{python3_sitelib}/%{srcname}/ %changelog * Fri Jul 23 2021 Fedora Release Engineering - 2.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.5.0-2 - Rebuilt for Python 3.10 * Tue Mar 16 2021 Jonny Heggheim - 2.5.0-1 - Initial package