summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2022-02-21 14:23:37 +0100
committerPanu Matilainen <pmatilai@redhat.com>2022-02-21 16:12:01 +0200
commit82dafa39a2dfd3e24858681ca75f467c1e1b3635 (patch)
treee6c0aebf1efaaf6bae56776a68d4c5ddf30be81b /macros.in
parente6a6399cb4c87f049bb75b8da83f5759522bcc58 (diff)
downloadrpm-82dafa39a2dfd3e24858681ca75f467c1e1b3635.tar.gz
Use ARCHSUFFIX instead of ARCH for default queries
which were using NEVRA before. This way source packages are reported with their file name with rpm -qp and rpmspec.
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index 0c3108b01..af87e2263 100644
--- a/macros.in
+++ b/macros.in
@@ -685,7 +685,7 @@ package or when debugging this package.\
# Default output format string for rpm -qa
#
# XXX Note: escaped %% for use in headerFormat()
-%_query_all_fmt %%{nvra}
+%_query_all_fmt %%{nvr}.%%{archsuffix}
#
# Default for coloring output