Bug 590920

Summary: repoquery --qf adds \n
Product: [Fedora] Fedora Reporter: Roland McGrath <roland>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 13CC: james.antill, maxamillion, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-11 02:00:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roland McGrath 2010-05-11 00:01:04 UTC
Description of problem:

repoquery --qf adds an implicit \n at the end of the string.
rpm --qf does not do this.  repoquery should match rpm.

Version-Release number of selected component (if applicable):
yum-utils-1.1.26-1.fc13.noarch

How reproducible:
100%

Steps to Reproduce:
1.diff -u <(rpm -q bash --qf '%{NAME}' | cat -AE) <(repoquery  -q bash --qf '%{NAME}' | cat -AE)
2.
3.
  
Actual results:

Differ in whether there is a trailing newline.

Expected results:

Both match.

Additional info:

Comment 1 seth vidal 2010-05-11 02:00:54 UTC

*** This bug has been marked as a duplicate of bug 550027 ***