Bug 172371
Summary: | rpm should provide easier way of displaying arch of packages | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Greg Forte <gforte> |
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> |
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | Keywords: | FutureFeature |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-03 18:37:34 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
Greg Forte
2005-11-03 13:38:11 UTC
rpm --qf '%{name}-%{version}-%{release}.%{arch}\n' -q foo You can also change the query_all_fmt by setting ~/.rpmmacros or /etc/rpm/macros.query to contain: %_query_all_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH} that's all well and good, but doesn't address my other complaint - why doesn't the 'info' option display a vital piece of information about the package? Changes to rpm -qi output would cause breakage to things that attempt to parse it rather than use --queryformat/rpm-python to access the information. The popt alias --info can be changed in /usr/lib/rpm/rpmpopt-VER. Should you wish this change to go into rpm for RHEL 4, please file a support request https://www.redhat.com/apps/support/ as documented on the front page of https://bugzilla.redhat.com/ |