On Mon, 16 Mar 2020 11:22:40 +0100
Vít Ondruch <vondruch(a)redhat.com> wrote:
I always thought that one should not call `rpm` during rpmbuild.
Nevertheless I am not sure what was the reason? Probably locking of
RPM db? Can somebody elaborate?
It couldn't be guaranteed to work in the case that the buildroot was
populated using a different version of rpm that used a different
version of libdb. That's not an issue that crops up much these days as
libdb hasn't been version-updated for years (due to licensing issues
IIRC) and mock with bootstrap mode enabled would populate the buildroot
using the target's version of rpm anyway these days.
Paul.