packaging: make rpm relocatable stable 6.0
authorMathias De Mare <mathias.de_mare@nokia.com>
Wed, 17 Nov 2021 13:47:25 +0100
branchstable
changeset 48332 5d08b289e2e5
parent 48331 4713bcf78037
child 48333 20400c13e572
packaging: make rpm relocatable This makes it possible to install multiple Mercurial rpms on the same machine in different locations. Differential Revision: https://phab.mercurial-scm.org/D11768
contrib/packaging/mercurial.spec
--- a/contrib/packaging/mercurial.spec	Wed Nov 17 13:28:22 2021 +0100
+++ b/contrib/packaging/mercurial.spec	Wed Nov 17 13:47:25 2021 +0100
@@ -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