When building rpm
packages with mock
, does mock
use the rpm
binary from the host system where you ran the mock
command, or does it use the rpm
from the chroot of the target system?
I basically want to know if I can use macros in my spec file that were added in a newer rpm version than is available on the oldest target OS.
To answer my own question, mock uses the rpm from the target OS to build the package.