https://bugzilla.redhat.com/show_bug.cgi?id=1489494
--- Comment #6 from Miroslav Suchý msuchy@redhat.com ---
dnf/rpm/libdnf from scriptlet. It's worst thing ever!
I agree with dnf/rpm. Can you elaborate why not libdnf? Especially this import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()) which does not touch/need transaction?