teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.4.2.3-queryformat-arch.patch

Panu Matilainen fa7edf
diff -up rpm-4.4.2.3-rc1/macros.in.qfmt rpm-4.4.2.3-rc1/macros.in
Panu Matilainen fa7edf
--- rpm-4.4.2.3-rc1/macros.in.qfmt	2008-01-25 16:52:39.000000000 +0200
Panu Matilainen fa7edf
+++ rpm-4.4.2.3-rc1/macros.in	2008-01-25 16:57:31.000000000 +0200
Panu Matilainen fa7edf
@@ -791,7 +791,7 @@ print (t)\
Panu Matilainen fa7edf
 # Default headerSprintf() output format string for rpm -qa
Panu Matilainen fa7edf
 #
Panu Matilainen fa7edf
 # XXX	Note: escaped %% for use in headerSprintf()
Panu Matilainen fa7edf
-%_query_all_fmt		%%{name}-%%{version}-%%{release}
Panu Matilainen fa7edf
+%_query_all_fmt		%%{name}-%%{version}-%%{release}%%|arch?{.%%{arch}}:{}|
Panu Matilainen fa7edf
 
Panu Matilainen fa7edf
 #
Panu Matilainen fa7edf
 # Default path to the file used for transaction fcmtl lock.