Il 12/02/23 06:31, Maxwell G via devel ha scritto:
> For reverse dependency rebuilds, you probably want the following
> command:
>
> ```
> $ fedrq whatrequires -X -F source $(fedrq subpkgs SRCNAME) # equivalent
> $ fedrq subpkgs SRCNAME | fedrq whatrequires -X -i -F source # equivalent
> ```
>
> This accounts for any package that depends on any subpackage/binary RPM
> produced by SRCNAME at buildtime and/or runtime, and spits out the names
> of the source packages that need to be rebuilt. For simple packages that
> output only one RPM, `fedrq whatrequires -F source PKGNAME` is
> sufficient.
>
Thanks for this! I never found a (easy) way to make dnf output the exact
reverse dependency of libindi, for example, and your tool does that well
with an easy to understand output:

$ fedrq whatrequires -F source $(fedrq subpkgs libindi)
indi-3rdparty-drivers
indi-3rdparty-libraries
kstars
libindi
phd2
stellarium

Though, it would be nice to have an easier subcommand or option just for
that, as it will be, I think, the most required use case. Maybe a 'fedrq
whatrequires --soname-bump SRCNAME'?

Mattia

_______________________________________________
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, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to