## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 pypi_name patch-ng %global _description %{expand: Fork of the original python-patch library to parse and apply unified diffs.} Name: python-%{pypi_name} Version: 1.18.0 Release: %autorelease License: MIT Summary: Library to parse and apply unified diffs URL: https://github.com/conan-io/%{name} Source0: %{pypi_source %{pypi_name}} BuildArch: noarch BuildRequires: python3-devel %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files patch_ng %check %pyproject_check_import %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md %changelog ## START: Generated by rpmautospec * Sat Aug 03 2024 Vitaly - 1.18.0-1 - Updated to version 1.18.0. * Fri Jul 19 2024 Fedora Release Engineering - 1.17.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild ## END: Generated by rpmautospec