Patchwork D220: rpms: add chg

login
register
mail settings
Submitter phabricator
Date Aug. 3, 2017, 2:53 p.m.
Message ID <a9725afdca3dcffb16b73c6d47b9f0e2@localhost.localdomain>
Download mbox | patch
Permalink /patch/22660/
State Not Applicable
Headers show

Comments

phabricator - Aug. 3, 2017, 2:53 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8fbd56a4073c: rpms: add chg (authored by Mathiasdm).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D220?vs=517&id=525

REVISION DETAIL
  https://phab.mercurial-scm.org/D220

AFFECTED FILES
  contrib/mercurial.spec

CHANGE DETAILS




To: Mathiasdm, #hg-reviewers, yuja
Cc: yuja, mercurial-devel

Patch

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/