## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://github.com/nxtboot/patman Version: 0.2.0 %forgemeta Name: python-patch-manager Release: %autorelease Summary: Patman patch manager License: GPL-2.0-or-later URL: %{forgeurl} Source: %{forgesource} # Fix asyncio event loop issues on Python 3.10+ Patch: 0001-Fix-asyncio-event-loop-retrieval-on-Python-3.10.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: sed %global _description %{expand: This package provides a tool intended to automate patch creation and make it a less error-prone process. It is useful for U-Boot and Linux work so far, since they use the checkpatch.pl script.} %description %_description %package -n python3-patch-manager Summary: %{summary} %description -n python3-patch-manager %_description %prep %forgeautosetup -p1 # Remove unnecessary shebangs sed -i "\|#!/usr/bin/env python3|d" patman/*.py u_boot_pylib/*.py %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files patman u_boot_pylib %check %pyproject_check_import -e patman.setup %files -n python3-patch-manager -f %{pyproject_files} %doc README.rst %{_bindir}/patman %changelog ## START: Generated by rpmautospec * Sat Aug 08 2026 Filipe Rosset - 0.2.0-1 - Update to 0.2.0 + spec cleanup + add patch to fix the build with Python 3.10 onwards * Thu Jul 16 2026 Fedora Release Engineering - 0.0.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 0.0.6-8 - Rebuilt for Python 3.15 * Sat Jan 17 2026 Fedora Release Engineering - 0.0.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 0.0.6-6 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 0.0.6-5 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 0.0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 0.0.6-3 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 0.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jan 03 2025 Davide Cavalca - 0.0.6-1 - Initial import; Fixes: RHBZ#2316563 ## END: Generated by rpmautospec