D220: rpms: add chg
Mathiasdm (Mathias De Maré)
phabricator at mercurial-scm.org
Thu Aug 3 06:57:00 UTC 2017
Mathiasdm created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
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.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D220
AFFECTED FILES
contrib/mercurial.spec
CHANGE DETAILS
diff --git a/contrib/mercurial.spec b/contrib/mercurial.spec
--- a/contrib/mercurial.spec
+++ b/contrib/mercurial.spec
@@ -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/
To: Mathiasdm, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list