]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
add q alias
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Feb 2015 21:44:02 +0000 (23:44 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 26 Feb 2015 21:44:02 +0000 (23:44 +0200)
rpm-build.sh

index 18481d59e88bf5fb4232f96e82ae486b3cfabb9b..6da3cddc43d03a770678b7b07ef9a508d4bcabb9 100755 (executable)
@@ -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() {
This page took 0.245428 seconds and 4 git commands to generate.