
#   link extension into "rpm" command line
rpm     alias -r           --repo
rpm     alias -s           --smart
rpm     exec  --stowaway   rpmx.sh --stowaway
rpm     exec  --makeindex  rpmx.sh --makeindex
rpm     exec  --makeproxy  rpmx.sh --makeproxy
rpm     exec  --update     rpmx.sh --update
rpm     exec  --fetch      rpmx.sh --fetch
rpm     exec  --repo       rpmx.sh --repo
rpm     exec  --smart      rpmx.sh --smart
rpm     alias --restriction   --define "restriction yes"
rpm     alias --norestriction --define "restriction no"

#   override -i/--info display
rpmq alias --info --qf '\
Name:    %-27{NAME} Source RPM:   %{SOURCERPM}\n\
Version: %-27{VERSION} Packager:     %{PACKAGER}\n\
Release: %-27{RELEASE} Build Host:   %{BUILDHOST}\n\
Group:   %-27{GROUP} Build System: %{ARCH}-%{OS}\n\
Distrib: %-27{DISTRIBUTION} Build Time:   %{BUILDTIME:date}\n\
License: %-27{LICENSE} Relocations:  %|PREFIXES?{[%{PREFIXES}]}:{(not relocateable)}|\n\
Vendor:  %-27{VENDOR} Install Size: %{SIZE} bytes\n\
URL:     %-27{URL} Install Time: %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n\
Summary: %{SUMMARY}\n\
Description:\n%{DESCRIPTION}\n\
%|PROVIDENAME?{Provides:\n\
[    %{PROVIDENAME} %|PROVIDEFLAGS?{%{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}}:{}|\n]}:{}|\
'

