%global module_name pidfile %global pypi_name python-%{module_name} Name: %{pypi_name} Version: 3.0.0 Release: 10%{?dist} Summary: Python context manager for managing pid files License: MIT URL: https://pypi.org/project/python-pidfile Source0: %pypi_source Source1: https://raw.githubusercontent.com/mosquito/python-pidfile/master/LICENSE BuildArch: noarch %global _description %{expand: Python context manager for managing pid files.} %description %_description %package -n python3-%{module_name} Summary: %{summary} BuildRequires: python3-devel %description -n python3-%{module_name} %_description %prep %autosetup %{name}-%{version} cp -p %{SOURCE1} . %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{module_name} %check %pyproject_check_import %files -n python3-pidfile -f %{pyproject_files} %doc README.rst %license LICENSE %changelog * Fri Jul 19 2024 Fedora Release Engineering - 3.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.0.0-9 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 3.0.0-5 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Oct 04 2022 Vishal Vijayraghavan - 3.0.0-3 - add license source and test * Sun Oct 02 2022 Vishal Vijayraghavan - 3.0.0-2 - specfile cleanup * Tue Sep 27 2022 Vishal Vijayraghavan - 3.0.0-1 - Initial fedora build.