rpms: add chg
I'm not sure if there's a reason chg is not added by default.
If not, I would like to propose adding in this patch.
Differential Revision: https://phab.mercurial-scm.org/D220
--- a/contrib/mercurial.spec Fri Jul 14 14:30:55 2017 -0700
+++ b/contrib/mercurial.spec Thu Jul 27 16:09:26 2017 +0200
@@ -83,6 +83,7 @@
%endif
make all
+make -C contrib/chg
%install
rm -rf $RPM_BUILD_ROOT
@@ -111,6 +112,7 @@
%endif
+install -m 755 contrib/chg/chg $RPM_BUILD_ROOT%{_bindir}/
install -m 755 contrib/hgk $RPM_BUILD_ROOT%{_bindir}/
install -m 755 contrib/hg-ssh $RPM_BUILD_ROOT%{_bindir}/
@@ -143,6 +145,7 @@
%{_datadir}/emacs/site-lisp/mercurial.el
%{_datadir}/emacs/site-lisp/mq.el
%{_bindir}/hg
+%{_bindir}/chg
%{_bindir}/hgk
%{_bindir}/hg-ssh
%dir %{_sysconfdir}/bash_completion.d/