[packages/rpm-build-macros] add q alias

glen glen at pld-linux.org
Thu Feb 26 22:44:08 CET 2015


commit 74d337fcc066ddbfd1890eab40410f306d4e15bc
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Feb 26 23:44:02 2015 +0200

    add q alias

 rpm-build.sh | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/rpm-build.sh b/rpm-build.sh
index 18481d5..6da3cdd 100755
--- a/rpm-build.sh
+++ b/rpm-build.sh
@@ -19,6 +19,8 @@ alias $dist-tag="./builder -cf -T $(echo $dist | tr '[a-z]' '[A-Z]')-branch -r H
 alias $dist-verify=dist-verify
 alias $dist-requires=dist-requires
 
+alias q='rpm -q --qf "%{N}-%|E?{%{E}:}|%{V}-%{R}.%{ARCH}\n"'
+
 # undo spec utf8
 # note: it will do it blindly, so any lang other than -pl is most likely broken
 specutfundo() {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/74d337fcc066ddbfd1890eab40410f306d4e15bc



More information about the pld-cvs-commit mailing list