%global debug_package %{nil} Name: py3nvml Version: 0.2.3 Release: 1%{?dist} Summary: Python 3 Bindings for the NVIDIA Management Library License: BSD Url: https://pypi.org/project/py3nvml/ Source: %{name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-requests BuildRequires: python3-setuptools %description %prep %autosetup -p1 %build %py3_build %install %py3_install %files %license LICENSE %doc README.rst PKG-INFO MANIFEST.in %{_bindir}/py3smi %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-*.egg-info %changelog