Mercurial -- a distributed SCM
Go to file
Yaakov Selkowitz b94d33fc2f Use %_prefix when installing chg
%_prefix is usually /usr . But it is a "thing" to build with a custom
%_prefix, and that should put all/most files under that prefix instead
of /usr . Other macros like %_mandir will change accordingly.

There is also %_usr , but that is apparently a pointless macro that
always is /usr . We should avoid using %_usr, and use %_prefix instead.

Flatpak builds set a custom %_prefix, and when chg was installed into
%_usr/bin it failed as described on
https://docs.fedoraproject.org/en-US/flatpak/troubleshooting/#_files_outside_of_app .
Change the spec to install chg in %_prefix/bin .

This change was isolated and documented (and obfuscated?) by Mads
Kiilerich.
2023-11-09 01:02:40 +01:00
.gitignore mercurial 6.5.3 2023-11-08 21:52:21 +01:00
mercurial-site-start.el rename mercurial-site-start -> mercurial-site-start.el 2008-03-26 14:57:05 +00:00
mercurial.spec Use %_prefix when installing chg 2023-11-09 01:02:40 +01:00
sources mercurial 6.5.3 2023-11-08 21:52:21 +01:00