Read about our upcoming Code of Conduct on this issue

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

--HG--
branch : stable
17 jobs for 6.0 in 70 minutes and 17 seconds (queued for 4 seconds)
latest
Status Name Job ID Coverage
  Tests
passed check-pytype-py3 #268437

00:32:02

passed checks-py2 #268424

00:06:24

passed checks-py3 #268425

00:05:41

passed rust-cargo-test-py2 #268426

00:04:51

passed rust-cargo-test-py3 #268427

00:06:43

passed test-py2 #268428

00:48:38

passed test-py2-chg #268435

01:09:57

passed test-py2-pure #268430

00:58:33

passed test-py2-rust #268432

01:02:31

passed test-py3 #268429

00:28:07

passed test-py3-chg #268436

00:17:03

passed test-py3-pure #268431

00:29:26

passed test-py3-rhg #268434

00:35:53

passed test-py3-rust #268433

00:39:13

failed windows-py3 #268438
windows

00:40:47

failed windows-py3-pyox #268439
windows

00:02:55

 
  Phabricator
skipped phabricator-refresh #268440
 
Name Stage Failure
failed
windows-py3-pyox Tests
adding extra file python3.dll to .
adding extra file python39.dll to .
adding extra file vcruntime140.dll to .
adding extra file vcruntime140_1.dll to .
installing files to C:\Users\heptapod-runner\builds\EGefw6Cz\0\mercurial\mercurial-devel\build\pyoxidizer\x86_64-pc-windows-msvc\release\app
error: error calling build(): Runtime(RuntimeError { code: "TUGGER_FILE_MANIFEST", message: "Access is denied. (os error 5)", label: "FileManifest.build()" })
"make": *** [pyoxidizer] Error 1
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
windows-py3 Tests
Skipped test-update-atomic.t: missing feature: unix-style permissions
Skipped test-update-issue1456.t: missing feature: executable bit
Skipped test-verify-repo-operations.py: missing feature: allow slow tests (use --allow-slow-tests)
Skipped test-wireproto-exchangev2-shallow.t: missing feature: sqlite3 module and matching cli is available
Failed test-narrow-commit.t#tree: output changed
# Ran 838 tests, 141 skipped, 1 failed.
python hash seed: 2495269431
Cleaning up file based variables
ERROR: Job failed: exit status 1