summaryrefslogtreecommitdiff
path: root/rpmpopt.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-12-18 22:54:00 +0000
committerjbj <devnull@localhost>2002-12-18 22:54:00 +0000
commitb3bc3cb19d15acc86df9400dc5e77adf8f6f1dd5 (patch)
tree7c015d3721e984b3d374444bc5dab96d47cfd4ed /rpmpopt.in
parentc10d7179bbead171e67e924538ad0f6751c8e961 (diff)
downloadrpm-b3bc3cb19d15acc86df9400dc5e77adf8f6f1dd5.tar.gz
- add --file{class,provide,require} popt aliases and header extensions
CVS patchset: 5947 CVS date: 2002/12/18 22:54:00
Diffstat (limited to 'rpmpopt.in')
-rw-r--r--rpmpopt.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/rpmpopt.in b/rpmpopt.in
index 40a258b71..adbcaad76 100644
--- a/rpmpopt.in
+++ b/rpmpopt.in
@@ -86,6 +86,18 @@ rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VER
rpm alias --filesbypkg --qf '[%-25{=NAME} %{FILENAMES}\n]' \
--POPTdesc=$"list all files from each package"
+rpm alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \
+ --POPTdesc=$"list file names with classes"
+
+rpm alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLOR}\n]' \
+ --POPTdesc=$"list file names with colors"
+
+rpm alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \
+ --POPTdesc=$"list file names with provides"
+
+rpm alias --filerequire --qf '[%{FILENAMES}\t%{FILEREQUIRE}\n]' \
+ --POPTdesc=$"list file names with requires"
+
rpm alias --redhatprovides -q --define '_dbpath /usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/redhat' --whatprovides \
--POPTdesc=$"find package name that contains a provided capability (needs rpmdb-redhat package installed)"