%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.17.4 Release: 2%{?dist} # Separate license file is currently missing: # https://github.com/conan-io/python-patch-ng/issues/8 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} %doc README.md %changelog * Fri Jan 21 2022 Fedora Release Engineering - 1.17.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Dec 12 2021 Vitaly Zaitsev - 1.17.4-1 - Updated to version 1.17.4. - Converted SPEC to 201x-era guidelines. * Fri Jul 23 2021 Fedora Release Engineering - 1.17.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.17.2-7 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.17.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.17.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 24 2020 Vitaly Zaitsev - 1.17.2-4 - Added python3-setuptools to build requirements. * Tue May 26 2020 Miro HronĨok - 1.17.2-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.17.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Dec 25 2019 Vitaly Zaitsev - 1.17.2-1 - Initial SPEC release.