On Wed, Jul 13, 2022 12:54:37 -0500, Maxwell G wrote:
> On 22/07/13 05:35PM, Ankur Sinha wrote:
> > > This is what we (I) aren't sure of, and that's why I first obtain the
> > capabilities manually and then query for them. If someone can confirm
> > that this is indeed the case, that would certainly simplify things.
>
> Here is confirmation:
>
> ```
> sudo dnf repoquery --repo=rawhide{,-source} -q --whatrequires
> python3-setuptools | grep '\.src' | grep yt-dlp
> yt-dlp-0:2022.06.29-2.fc37.src
>
> $ sudo dnf repoquery --repo=rawhide-source -q --requires yt-dlp | grep
> setuptools
> python3dist(setuptools) >= 40.8
> ```
>
> yt-dlp depends on one of `python3-setuptool`'s virtual provides, and it is
> still
> found when using the command I gave to find which packages BuildRequire
> a certain other package. This also works when querying runtime
> dependencies:
>
> ```
> $ sudo dnf repoquery -q --repo=rawhide --requires reuse | grep setuptools
> python3.11dist(setuptools)
> $ sudo dnf repoquery -q --repo=rawhide --whatrequires python3-setuptools |
> grep reuse
> reuse-0:1.0.0-2.fc37.noarch
> ```Thanks very much! That really simplifies it to a single command. -- Thanks, Regards, Ankur Sinha (He / Him / His) | https://ankursinha.in Time zone: Europe/London
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
