Re: Querying BuildRequires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 24, 2018 at 5:40 PM Jerry James <loganjerry@xxxxxxxxx> wrote:
>
> The following commands are executed on an x86_64 Fedora 29 machine.
> What am I doing wrong?
>
> $ dnf repoquery --srpm --whatrequires python2-repoze-sphinx-autointerface
> enabling fedora-modular-source repository
> enabling updates-modular-source repository
> enabling updates-source repository
> enabling fedora-source repository
> Last metadata expiration check: 0:13:21 ago on Sat 24 Nov 2018 09:19:28 AM MST.
> $ dnf repoquery --srpm --requires python2-BTrees
> enabling fedora-modular-source repository
> enabling updates-modular-source repository
> enabling updates-source repository
> enabling fedora-source repository
> Last metadata expiration check: 0:00:59 ago on Sat 24 Nov 2018 09:33:48 AM MST.
> gcc
> python2-devel
> python2-nose
> python2-persistent-devel
> python2-repoze-sphinx-autointerface
> python2-setuptools
> python2-sphinx
> python2-transaction
> python2-zope-interface
> python2-zope-testrunner
> python3-devel
> python3-nose
> python3-persistent-devel
> python3-repoze-sphinx-autointerface
> python3-setuptools
> python3-sphinx
> python3-transaction
> python3-zope-interface
> python3-zope-testrunner
>
> The second dnf invocation clearly shows that python-BTrees
> BuildRequires python2-repoze-sphinx-autointerface.  Why doesn't the
> first invocation show the same?
>
> Thanks,
> --
> Jerry James
> http://www.jamezone.org/

Hi,

You can use this command:

sudo dnf repoquery \
    --releasever=29 \
    --disablerepo='*' \
    --enablerepo=fedora-source \
    --alldeps \
    --archlist=src \
    --whatrequires python2-repoze-sphinx-autointerface

It's the only combination of arguments to repoquery that I found to
work reliably.
(I usually use it for rawhide, though. For stable releases, you might
want to add updates-source and updates-testing-source repositories,
too.)

It prints:
certbot-0:0.27.1-1.fc29.src
python-BTrees-0:4.5.1-1.fc29.src

Fabio

> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux