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

glen glen at pld-linux.org
Tue May 19 11:00:11 CEST 2015


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

    add q alias

 shrc.sh | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/shrc.sh b/shrc.sh
index aceec77..56c27b8 100755
--- a/shrc.sh
+++ b/shrc.sh
@@ -40,6 +40,8 @@ ac-tag() {
 	git push -f origin $branch
 }
 
+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-tools.git/commitdiff/7e5ea5ac9a9b8b06af196b73d774a17568097d8c



More information about the pld-cvs-commit mailing list