https://bugzilla.redhat.com/show_bug.cgi?id=1489494
--- Comment #4 from Miroslav Suchý msuchy@redhat.com --- Yes. There is python3-hawkey, which in past used hawkey C API, but now it uses libdnf. DNF team just decided that it is not needed to change the python name. The functionality stays the same.
why not use `uname -m`
because I want the get the same string as DNF use internally. And I do not want to be surprised on some secondary architectures where it may or not return slightly different results.