## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 Name: python-merge3 Version: 0.0.15 Release: %autorelease Summary: Python implementation of 3-way merge License: GPL-2.0-or-later URL: https://www.breezy-vcs.org # PyPI source does not contain tests # Source: %%{pypi_source merge3} Source: https://github.com/breezy-team/merge3/archive/v%{version}/merge3-%{version}.tar.gz # pass -v in tox.ini to unittest invocation Patch: merge3-verbose-testlog.diff BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel %global _description %{expand: A Python implementation of 3-way merge of texts. Given BASE, OTHER, THIS, tries to produce a combined text incorporating the changes from both BASE->OTHER and BASE->THIS. All three will typically be sequences of lines.} %description %{_description} %package -n python3-merge3 Summary: %{summary} %description -n python3-merge3 %{_description} %prep %autosetup -p1 -n merge3-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files merge3 %check %tox %files -n python3-merge3 -f %{pyproject_files} # license already auto-detected, verified with rpm -qpL %doc README.rst %{_bindir}/merge3 %changelog ## START: Generated by rpmautospec * Thu Sep 05 2024 Michel Lind - 0.0.15-1 - Update to version 0.0.15; Fixes: RHBZ#2239321 * Fri Jul 19 2024 Fedora Release Engineering - 0.0.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.0.13-5 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.0.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.0.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 18 2023 Michel Alexandre Salim - 0.0.13-1 - Initial Fedora package ## END: Generated by rpmautospec