D11768: packaging: make rpm relocatable

Mathiasdm (Mathias De Maré) phabricator at mercurial-scm.org
Wed Nov 17 12:49:46 UTC 2021


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

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



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


More information about the Mercurial-devel mailing list