Patchwork D11768: packaging: make rpm relocatable

login
register
mail settings
Submitter phabricator
Date Nov. 17, 2021, 12:49 p.m.
Message ID <differential-rev-PHID-DREV-2d7m3qysza4vq2syvas2-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50093/
State Superseded
Headers show

Comments

phabricator - Nov. 17, 2021, 12:49 p.m.
Mathiasdm created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This makes it possible to install multiple Mercurial rpms on the same machine
  in different locations.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  contrib/packaging/mercurial.spec

CHANGE DETAILS




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

Patch

diff --git a/contrib/packaging/mercurial.spec b/contrib/packaging/mercurial.spec
--- a/contrib/packaging/mercurial.spec
+++ b/contrib/packaging/mercurial.spec
@@ -27,6 +27,7 @@ 
 Version: snapshot
 Release: 0
 License: GPLv2+
+Prefix: /
 Group: Development/Tools
 URL: https://mercurial-scm.org/
 Source0: %{name}-%{version}-%{release}.tar.gz