- Rpm might be configure'd with a _tmppath that isn't writable
or even existing on the build-host, force our testing tmp directory
to be used for package builds which cannot be executed within the
test-root.
- Fixes a few false positives in the test-suite by making it less
reliant on the configuration of the built rpm and build host
(cherry picked from commit
ec00b3f02e3caab77849338bdb6422bf6ab7c306)
function run()
{
- "$@" --define "_topdir ${TOPDIR}" --dbpath="${RPMTEST}/var/lib/rpm/"
+ "$@" --define "_tmppath ${RPMTEST}/tmp" --define "_topdir ${TOPDIR}" --dbpath="${RPMTEST}/var/lib/rpm/"
}
function runroot()