## START: Set by rpmautospec ## (rpmautospec version 0.8.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: git-imerge Version: 1.2.0 Release: %autorelease Summary: Incremental merge and rebase for Git License: GPL-2.0-or-later URL: https://github.com/mhagger/git-imerge Source0: %{pypi_source} BuildArch: noarch BuildRequires: pkgconfig(bash-completion) BuildRequires: git-core BuildRequires: python3-devel Requires: git-core %description Performs a merge between two branches incrementally. If conflicts are encountered, figures out exactly which pairs of commits conflict, and presents the user with one pairwise conflict at a time for resolution. %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files gitimerge # Move the Bash completion file to its correct location mv "%{buildroot}%{python3_sitelib}%{_datadir}" "%{buildroot}%{_prefix}/" %check %tox %files -f %{pyproject_files} %license COPYING %doc README.md %{_bindir}/%{name} %{_datadir}/bash-completion/completions/%{name} %changelog ## START: Generated by rpmautospec * Sat Nov 08 2025 John Doe - 1.2.0-1 - Uncommitted changes ## END: Generated by rpmautospec