Bug 1404157 - repoquery --srpm doesn't work
Summary: repoquery --srpm doesn't work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 08:51 UTC by Igor Gnatenko
Modified: 2017-05-31 11:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-31 11:49:51 UTC
Type: Bug


Attachments (Terms of Use)

Description Igor Gnatenko 2016-12-13 08:51:53 UTC
from man:
  --srpm                operate on corresponding source RPM

From this I would assume that it is alias for `--arch=src --enablerepo='*-source'`.

However, it doesn't work:

[brain@x1carbon pitivi]$ sudo dnf repoquery --enablerepo=rawhide-source --arch=src --whatrequires meson
Last metadata expiration check: 0:00:00 ago on Tue Dec 13 09:51:04 2016 CET.
angelscript-0:2.31.1-3.fc26.src
gst-transcoder-0:1.8.2-1.fc26.src
gstreamer1-plugin-mpg123-0:1.10.0-3.fc26.src
pitivi-0:0.97.1-5.fc26.src
[brain@x1carbon pitivi]$ 

[brain@x1carbon pitivi]$ sudo dnf repoquery --srpm --whatrequires meson
enabling rpmfusion-nonfree-rawhide-source repository
enabling rpmfusion-free-rawhide-source repository
enabling rawhide-source repository
Last metadata expiration check: 0:00:23 ago on Tue Dec 13 09:51:04 2016 CET.
[brain@x1carbon pitivi]$

Comment 5 Honza Silhan 2016-12-19 13:56:14 UTC
FTR the current DNF repoquery is consistent with yum repoquery behavior - no results. We should fix it only if yum repoquery behavior was considered as a bug with combination of `--whatrequires`.

Valentina, do you think is it a bug in yum repoquery or expected behavior?

Comment 6 Fedora End Of Life 2017-02-28 10:46:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.


Note You need to log in before you can comment on or make changes to this bug.