RPM 4.19.90 (4.20 alpha 1) introduced per-build directories,
which adds one more level to the build directory nesting that
this is trying to flatten out. This uses a trick provided by
@pmatilai to discover the true build directory; he says this
works on both old and new RPM. We then flatten relative to that
directory.
RPM 4.19.90 (4.20 alpha 1) introduced per-build directories,
which adds one more level to the build directory nesting that
this is trying to flatten out. This uses a trick provided by
@pmatilai to discover the true build directory; he says this
works on both old and new RPM. We then flatten relative to that
directory.
Signed-off-by: Adam Williamson awilliam@redhat.com