diff --git a/git-remote-hg.spec b/git-remote-hg.spec index ecc23ac..efe5235 100644 --- a/git-remote-hg.spec +++ b/git-remote-hg.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} Name: git-remote-hg Version: 1.0.2.1 -Release: 6%{?dist} +Release: 7%{?dist} BuildArch: noarch Summary: Mercurial wrapper for git License: GPLv2+ @@ -18,8 +18,6 @@ BuildRequires: make Requires: python3 Requires: git-core >= 2.0.0 Requires: mercurial >= 5.4 -Requires: %{py3_dist mercurial} -Obsoletes: git-hg %description git-remote-hg is the semi-official Mercurial bridge from Git project. @@ -27,8 +25,7 @@ Once installed, it allows you to clone, fetch and push to and from Mercurial repositories as if they were Git ones. %prep -%setup -q -#%patch01 -p1 +%autosetup sed -i -e "1 s|^#!.*|#!%{__python3}|" git-remote-hg sed -i -e 's|\tinstall|\tinstall -p|' Makefile @@ -50,6 +47,13 @@ make install-doc %{_mandir}/man1/* %changelog +* Tue Apr 26 2022 Ondřej Pohořelský - 1.0.2.1-7 +- Dropped %%{py3_dist mercurial} require +- Removed unused patch +- Use autosetup +- Drop git-hg obsolete +- Resolves: rhbz#2072627 + * Thu Jan 20 2022 Fedora Release Engineering - 1.0.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild