- fix: db1 end-of-file not detected in legacy compatible way.
[tools/librpm-tizen.git] / rpmpopt.in
index b456f22..54be52b 100644 (file)
@@ -1,3 +1,5 @@
+#/*! \page config_rpmpopt Default configuration: /usr/lib/rpm/rpmpopt-@VERSION@
+# \verbatim
 #
 # This file *should not be modified*. Local customizations
 # belong in /etc/popt, not here. This file will be replaced
@@ -63,8 +65,8 @@ rpm   alias --triggerscripts --qf '\
 %{TRIGGERSCRIPTS}\n]'
 rpm    alias --triggers --triggerscripts
 
-rpm    alias --last --qf ''%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
-       --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-35s %-s\n\", $1, substr($0,length($1)+2))}' "
+rpm    alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
+       --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-45s %-s\n\", $1, substr($0,length($1)+2))}' "
 
 rpm    alias --filesbypkg --qf '[%-25{=NAME} %{FILENAMES}\n]'
 
@@ -134,8 +136,9 @@ rpm exec --rmspec           rpmb --rmspec
 rpm    exec --target           rpmb --target
 rpm    exec --short-circuit    rpmb --short-circuit
 
-rpm    exec --initdb           rpmdb --initdb
-rpm    exec --rebuilddb        rpmdb --rebuilddb
+rpm    exec --initdb           rpmd --initdb
+rpm    exec --rebuilddb        rpmd --rebuilddb
+rpm    exec --verifydb         rpmd --verifydb
 
 #rpm   exec -e                 rpme -e
 #rpm   exec --erase            rpme --erase
@@ -154,6 +157,8 @@ rpm exec -V                 rpmv -V
 rpm    exec -y                 rpmv -y
 rpm    exec --verify           rpmv --verify
 
+rpm    alias --with            --define "_with_!#:+       --with-!#:+"
+rpm    alias --without         --define "_without_!#:+    --without-!#:+"
 #==============================================================================
 rpmb   alias --dbpath          --define '_dbpath !#:+'
 rpmb   alias --ftpport         --define '_ftpport !#:+'
@@ -161,6 +166,23 @@ rpmb       alias --ftpproxy        --define '_ftpproxy !#:+'
 rpmb   alias --httpport        --define '_httpport !#:+'
 rpmb   alias --httpproxy       --define '_httpproxy !#:+'
 rpmb   alias --timecheck       --define '_timecheck !#:+'
+rpmb   alias --with            --define "_with_!#:+       --with-!#:+"
+rpmb   alias --without         --define "_without_!#:+    --without-!#:+"
+#==============================================================================
+rpmbuild       alias --dbpath          --define '_dbpath !#:+'
+rpmbuild       alias --ftpport         --define '_ftpport !#:+'
+rpmbuild       alias --ftpproxy        --define '_ftpproxy !#:+'
+rpmbuild       alias --httpport        --define '_httpport !#:+'
+rpmbuild       alias --httpproxy       --define '_httpproxy !#:+'
+rpmbuild       alias --timecheck       --define '_timecheck !#:+'
+rpmbuild       alias --with            --define "_with_!#:+     --with-!#:+"
+rpmbuild       alias --without         --define "_without_!#:+  --without-!#:+"
+#==============================================================================
+rpmd   alias --dbpath          --define '_dbpath !#:+'
+rpmd   alias --ftpport         --define '_ftpport !#:+'
+rpmd   alias --ftpproxy        --define '_ftpproxy !#:+'
+rpmd   alias --httpport        --define '_httpport !#:+'
+rpmd   alias --httpproxy       --define '_httpproxy !#:+'
 #==============================================================================
 rpmdb  alias --dbpath          --define '_dbpath !#:+'
 rpmdb  alias --ftpport         --define '_ftpport !#:+'
@@ -180,6 +202,12 @@ rpmi       alias --ftpproxy        --define '_ftpproxy !#:+'
 rpmi   alias --httpport        --define '_httpport !#:+'
 rpmi   alias --httpproxy       --define '_httpproxy !#:+'
 #==============================================================================
+rpmk   alias --dbpath          --define '_dbpath !#:+'
+rpmk   alias --ftpport         --define '_ftpport !#:+'
+rpmk   alias --ftpproxy        --define '_ftpproxy !#:+'
+rpmk   alias --httpport        --define '_httpport !#:+'
+rpmk   alias --httpproxy       --define '_httpproxy !#:+'
+#==============================================================================
 rpmq   alias --dbpath          --define '_dbpath !#:+'
 rpmq   alias --ftpport         --define '_ftpport !#:+'
 rpmq   alias --ftpproxy        --define '_ftpproxy !#:+'
@@ -245,18 +273,11 @@ rpmq      alias --triggerscripts --qf '\
 %{TRIGGERSCRIPTS}\n]'
 rpmq   alias --triggers --triggerscripts
 
-rpmq   alias --last --qf ''%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
-       --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-35s %-s\n\", $1, substr($0,length($1)+2))}' "
+rpmq   alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE} %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
+       --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-45s %-s\n\", $1, substr($0,length($1)+2))}' "
 
 rpmq   alias --filesbypkg --qf '[%-25{=NAME} %{FILENAMES}\n]'
 #==============================================================================
-rpmt   alias --dbpath          --define '_dbpath !#:+'
-rpmt   alias --ftpport         --define '_ftpport !#:+'
-rpmt   alias --ftpproxy        --define '_ftpproxy !#:+'
-rpmt   alias --httpport        --define '_httpport !#:+'
-rpmt   alias --httpproxy       --define '_httpproxy !#:+'
-rpmt   alias --timecheck       --define '_timecheck !#:+'
-#==============================================================================
 rpmu   alias --dbpath          --define '_dbpath !#:+'
 rpmu   alias --ftpport         --define '_ftpport !#:+'
 rpmu   alias --ftpproxy        --define '_ftpproxy !#:+'
@@ -268,3 +289,6 @@ rpmv        alias --ftpport         --define '_ftpport !#:+'
 rpmv   alias --ftpproxy        --define '_ftpproxy !#:+'
 rpmv   alias --httpport        --define '_httpport !#:+'
 rpmv   alias --httpproxy       --define '_httpproxy !#:+'
+
+# \endverbatim
+#*/