| |
@@ -1,7 +1,7 @@
|
| |
%global debug_package %{nil}
|
| |
Name: git-remote-hg
|
| |
- Version: 1.0.0
|
| |
- Release: 6%{?dist}
|
| |
+ Version: 1.0.2.1
|
| |
+ Release: 2%{?dist}
|
| |
BuildArch: noarch
|
| |
Summary: Mercurial wrapper for git
|
| |
License: GPLv2+
|
| |
@@ -13,10 +13,11 @@
|
| |
# The second commit (to the tests) isn't needed against 0.2
|
| |
|
| |
BuildRequires: asciidoc >= 8.4.1
|
| |
- BuildRequires: python2-devel
|
| |
- Requires: python2
|
| |
- Requires: git >= 2.0.0
|
| |
- Requires: mercurial >= 3.5
|
| |
+ BuildRequires: python3-devel
|
| |
+ Requires: python3
|
| |
+ Requires: git-core >= 2.0.0
|
| |
+ Requires: mercurial >= 5.4
|
| |
+ Requires: mercurial-py3
|
| |
Obsoletes: git-hg
|
| |
|
| |
%description
|
| |
@@ -27,7 +28,7 @@
|
| |
%prep
|
| |
%setup -q
|
| |
#%patch01 -p1
|
| |
- sed -i -e "1 s|^#!.*|#!%{__python2}|" git-remote-hg
|
| |
+ sed -i -e "1 s|^#!.*|#!%{__python3}|" git-remote-hg
|
| |
sed -i -e 's|\tinstall|\tinstall -p|' Makefile
|
| |
|
| |
%build
|
| |
@@ -48,6 +49,15 @@
|
| |
%{_mandir}/man1/*
|
| |
|
| |
%changelog
|
| |
+ * Thu Nov 26 2020 Todd Zullinger <tmz@pobox.com> - 1.0.2.1-2
|
| |
+ - require git-core rather than git to reduce dependencies
|
| |
+
|
| |
+ * Mon Nov 23 2020 Petr Stodulka <pstodulk@redhat.com> - 1.0.2.1-1
|
| |
+ - Rebase to 1.0.2.1
|
| |
+ - Transfer to Python3
|
| |
+ - Requires Mercurial v5.4+ for Python3 (mercurial-py3)
|
| |
+ - Resolves: rhbz#1738965, rhbz#1893525
|
| |
+
|
| |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
|
| |
Nothing in git-remote-hg appears to require the tools from git rather than git-core. Avoid pulling in the extra dependencies of git.
I noticed the git requirement while testing a fix for a git fast-import bug (rhbz#1900335). Installing git-remote-hg in a container pulled in many more deps than it needed. I tested the git-remote-hg-1.0.0 release with only git-core as a dep by cloning https://hg.mozilla.org/projects/nss.
But I also noticed the package was a few revisions behind, so I didn't think I'd file a PR. Fortuitously, Villy pointed me to PR#3 which updates to the latest release and moves to python3. I built on top of that, which is one reason why I marked this as RFC. That PR should be merged before this one, obviously. :)