summaryrefslogtreecommitdiff
path: root/rpmpopt.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-05-26 18:51:11 +0000
committerjbj <devnull@localhost>2000-05-26 18:51:11 +0000
commit5807d4262ea2783d1a69becefeaf7d294d1d27b3 (patch)
treeba9fbe9567e1bd6a43585957ed717f5d960f4f4b /rpmpopt.in
parentf0ee44c4417b7e449d698dc74d76e102950eadd2 (diff)
downloadlibrpm-tizen-5807d4262ea2783d1a69becefeaf7d294d1d27b3.tar.gz
librpm-tizen-5807d4262ea2783d1a69becefeaf7d294d1d27b3.tar.bz2
librpm-tizen-5807d4262ea2783d1a69becefeaf7d294d1d27b3.zip
Remove build modes from rpm, use rpmb and/or popt glue instead.
CVS patchset: 3754 CVS date: 2000/05/26 18:51:11
Diffstat (limited to 'rpmpopt.in')
-rw-r--r--rpmpopt.in25
1 files changed, 19 insertions, 6 deletions
diff --git a/rpmpopt.in b/rpmpopt.in
index 02550322a..67c4ee315 100644
--- a/rpmpopt.in
+++ b/rpmpopt.in
@@ -111,12 +111,25 @@ rpm alias --httpproxy --define '_httpproxy !#:+'
rpm alias --timecheck --define '_timecheck !#:+'
#==============================================================================
-#rpm exec -b rpmb -b
-#rpm exec --build rpmb --build
-#rpm exec --rebuild rpmb --rebuild
-#rpm exec --recompile rpmb --recompile
-#rpm exec -t rpmt -t
-#rpm exec --tarbuild rpmt --tarbuild
+# Popt glue to preserve legacy CLI behavior.
+#
+# XXX popt exec parsing doesn't honor POPT_ARGFLAG_ONEDASH
+rpm exec --bp rpmb -bp
+rpm exec --bc rpmb -bc
+rpm exec --bi rpmb -bi
+rpm exec --bl rpmb -bl
+rpm exec --ba rpmb -ba
+rpm exec --bb rpmb -bb
+rpm exec --bs rpmb -bs
+rpm exec --tp rpmb -tp
+rpm exec --tc rpmb -tc
+rpm exec --ti rpmb -ti
+rpm exec --tl rpmb -tl
+rpm exec --ta rpmb -ta
+rpm exec --tb rpmb -tb
+rpm exec --ts rpmb -ts
+rpm exec --rebuild rpmb --rebuild
+rpm exec --recompile rpmb --recompile
rpm exec --initdb rpmdb --initdb
rpm exec --rebuilddb rpmdb --rebuilddb