Name: modpoll Version: 1.3.3 Release: 1%{?dist} Summary: A command line tool for Modbus and MQTT License: MIT URL: https://github.com/gavinying/modpoll Source0: %url/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description A command line tool for Modbus and MQTT %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files modpoll %files -f %{pyproject_files} %license LICENSE %doc README.md %{_bindir}/modpoll %changelog * Sun Nov 03 2024 Peter Robinson - 1.3.3-1 - Initial package