This script prints whether a package is a leaf package on i686. If it is not, it prints the list of dependent packages.
./leafdrop foo
ExcludeArch: i686
repochecker
Licensed under the terms of the UNLICENSE.