Sometimes when trying to remove a package via 'dnf remove package-name', dnf will list a lot of other packages as 'dependencies' and try to remove them too. I have found that it even does this with seemingly unrelated packages, like removing firewalld somehow declare 'spotify-client' as a dependency.
How do I get dnf to only remove packages related to or installed as dependencies of the package I'm trying to actually remove?