Description of problem: When you run: dnf builddep some.src.rpm and there is missing dependency, it will just print: Error: no package matched While previously yum-builddep some.src.rpm print nicely: Error: No Package found for bar Error: No Package found for foo It would be nice to preserve this functionality, so mock can parse the output and do something about it. Version-Release number of selected component (if applicable): dnf-plugins-core-0.1.3-1.fc21.noarch How reproducible: always Steps to Reproduce: 1. create src.rpm with BuildRequires: foo bar 2. compare output of: dnf builddep some.src.rpm yum-builddep some.src.rpm Actual results: Error: no package matched Expected results: Error: No Package found for bar Error: No Package found for foo
Thank you for the report. I'd just add that it would be even necessary to document the expected output. Otherwise Miroslav would be depending on an undocumented (ie. unsupported) feature. I would introduce a switch or a new command that would have a documented output (not only) for this purpose like Git's plumbing and porcelain functions (http://git-scm.com/book/en/Git-Internals-Plumbing-and-Porcelain).
Created attachment 953972 [details] Proposed patch to resolve this issue
*** This bug has been marked as a duplicate of bug 1155211 ***