rpmbuild has an --undefine option, which allows a macro which is already set to be undefined. Mock should accept this same option and pass it through, so that specific macros defined inside the chroot in /usr/lib/rpm/macros (or similar) can be unset (not just changed) during the build.
rpmbuildhas an--undefineoption, which allows a macro which is already set to be undefined. Mock should accept this same option and pass it through, so that specific macros defined inside the chroot in /usr/lib/rpm/macros (or similar) can be unset (not just changed) during the build.