Hi folks,

I'm sure this exists somewhere but I couldn't find one, so with the help
of folks on #fedora-devel, I hacked up this simple shell script to get
the all the deps of a package. It's useful when your package update
includes a soname bump, and you need to figure out what packages need to
be rebuilt etc.

https://pagure.io/fedora-get-package-dependencies/blob/main/f/get_deps.sh

It lists all the capabilities of the package, and then asks dnf to list
what packages require any of them. It should cover most cases.

If someone has a better script, please do share it, and please feel free
to improve this one too. I'm more than happy to give everyone access to
the repo and/or hand it over to a particular package maintainers related
pagure group.

Ideally, a script of this form should be noted in the package-maintainer
docs so we can all use it.

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | 
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to