Name: infoblox-client Version: 0.6.0 Release: 1%{?dist} Summary: Client for interacting with Infoblox NIOS over WAPI License: Apache-2.0 URL: https://github.com/infobloxopen/infoblox-client Source: %{pypi_source %name} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Client for interacting with Infoblox NIOS over WAPI.} %description %_description %package -n python3-%{name} Summary: %{summary} %description -n python3-%{name} %_description %prep %autosetup -p1 -n %{name}-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install # Here, "pello" is the name of the importable module. %pyproject_save_files -l infoblox_client %check %tox # Note that there is no %%files section for # the unversioned python module, python-pello. # For python3-pello, %%{pyproject_files} handles code files and %%license, # but executables and documentation must be listed in the spec file: %files -n python3-%{name} -f %{pyproject_files} %doc README.rst %changelog %autochangelog