%global module_name pidfile %global pypi_name python-%{module_name} Name: %{pypi_name} Version: 3.0.0 Release: 1%{?dist} Summary: Python context manager for managing pid files License: MIT URL: https://pypi.org/project/python-pidfile Source: %pypi_source BuildArch: noarch %global _description %{expand: Python context manager for managing pid files.} %description %_description %package -n python3-%{module_name} Summary: %{summary} BuildRequires: python3-devel Requires: python3-psutil %description -n python3-%{module_name} %_description %prep %autosetup %{name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{module_name} %files -n %{name} -f %{pyproject_files} %doc README.rst %changelog * Tue Sep 27 2022 Vishal Vijayraghavan - 3.0.0-1 - Initial fedora build.