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
--- 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