nim added a new comment to an issue you are following:
I don't remember where the files end up (under `BUILD` or `BUILDROOT`) and I may have
mixed up the rpm variable representing rpm's last stage staging directory.
The basic point is that for `Requires`/`Provides` we are not calling `golist` explicitly,
rpm is doing it in [generator](https://rpm.org/user_doc/dependency_generators.html)
And the filesystem tree rpm is operating in generator mode is a mirror of the target FHS
structure, except `/` is replaced by a prefix directory.
That breaks absolute symlinks (they are already pointing to `/` not the prefix directory),
so anything that walks the directory structure like golist needs to have special code for
computing the correct symlink target in `Requires`/`Provides` generator mode. ie “the
symlink is pointing to `/foo/bar` but I’m in prefix mode so the actual target is probably
This could probably be made better rpm upstream side by making `Requires`/`Provides` on a
container that fakes the root properly, but rpm was designed before containers existed and
getting the containing logic right is hard .
To reply, visit the link below or just reply to this email