Bug 183202

Summary: show architecture details in defaul rpm query atleast for x86_64 systems in FC6 rawhide
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED UPSTREAM QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: smohan
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: 2006-03-01 13:48:13 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 Rahul Sundaram 2006-02-27 13:22:45 UTC
Description of problem:

Architecture is not detailed in the default rpm query (rpm -qa ) and confuses
users into believing that there are multiple duplicate packages installed on the
system

Actual results:

rpm -qa does not show architecture details


Expected results:

should show architecture details by default.


Additional info:

The current argument is that changing the query results would break scripts that
incorrectly use screen scrapping instead of the API and library. Testing this in
FC6 development cycle would help find and fix such bugs. If all hell breaks
loose we can disable it again during FC5 GA release.

Comment 1 Jeff Johnson 2006-03-01 13:48:13 UTC
Fixed in rpm-4.4.5 (at least).

Changing the default --query --all output may break legacy user scripts.

Add to /etc/rpm/macros or ~/.rpmmacros:
    %_query_all_fmt         %%{name}-%%{version}-%%{release}.%%{arch}