Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1166121 - RFE: make dnf builddep recognize nosrc.rpm packages
RFE: make dnf builddep recognize nosrc.rpm packages
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core (Show other bugs)
21
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 483486
  Show dependency treegraph
 
Reported: 2014-11-20 07:08 EST by Miroslav Suchý
Modified: 2015-11-04 06:58 EST (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1166126 (view as bug list)
Environment:
Last Closed: 2015-11-04 06:58:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch to resolve this issue (477 bytes, patch)
2014-11-20 07:17 EST, Miroslav Suchý
no flags Details | Diff

  None (edit)
Description Miroslav Suchý 2014-11-20 07:08:24 EST
Description of problem:
If you use 'Nosource' tag in spec file, then 'rpmbuild -bs' will create package *.nosrc.rpm.
When you pass this file do yum-builddep it will fail with:
No such package(s): /var/lib/mock/fedora-20-x86_64/root//builddir/build/SRPMS/battle-chess-1994-1.fc20.nosrc.rpm 

Version-Release number of selected component (if applicable):
yum-utils-1.1.31-24.fc21.noarch

How reproducible:
always

Steps to Reproduce:
1. wget http://miroslav.suchy.cz/copr/battle-chess-1994-1.fc20.nosrc.rpm
2. yum-builddep battle-chess-1994-1.fc20.nosrc.rpm

Actual results:
# /usr/bin/yum-builddep --installroot /var/lib/mock/fedora-20-x86_64/root/ --releasever 20 /var/lib/mock/fedora-20-x86_64/root//builddir/build/SRPMS/battle-chess-1994-1.fc20.nosrc.rpm                                                           No such package(s): /var/lib/mock/fedora-20-x86_64/root//builddir/build/SRPMS/battle-chess-1994-1.fc20.nosrc.rpm 

Expected results:
no errors.


Additional info:
Comment 1 Miroslav Suchý 2014-11-20 07:17:30 EST
Created attachment 959307 [details]
Proposed patch to resolve this issue
Comment 2 Scott K Logan 2015-03-21 23:41:14 EDT
Proposed patch works for me. +1 to merge.
Comment 3 Jonathan Underwood 2015-09-30 15:01:43 EDT
Any progress on this one?
Comment 4 Jonathan Underwood 2015-09-30 15:03:37 EDT
Re-assigning to dnf-plugins-core.
Comment 5 Fedora End Of Life 2015-11-04 05:18:01 EST
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 6 Miroslav Suchý 2015-11-04 06:58:26 EST
This was fixed in commit d556788281505d47daa6f881d0695a64f16b8021
and resolved in dnf-plugins-core-0.1.10-1

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