1 --- rpm-4.1/rpmpopt.in.wiget Thu Sep 19 00:32:02 2002
2 +++ rpm-4.1/rpmpopt.in Thu Sep 19 00:44:31 2002
4 --POPTdesc=$"find package name that contains a required capability (needs rpmdb-redhat package installed)"
6 # colon separated i18n domains to use as PO catalogue lookaside for
7 -* retrieving header group/description/summary.
8 +# retrieving header group/description/summary.
10 # For Red Hat, value should be "redhat-dist:redhat-powertools".
11 rpm alias --i18ndomains --define '_i18ndomains !#:+'
13 # Build policies enabled from command line. Last policy applies.
14 -rpm alias --buildpolicy --define '__os_install_post @RPMCONFIGDIR@/brp-!#:+' \
15 - --POPTdesc=$"set buildroot <policy> (e.g. compress man pages)" \
16 - --POPTargs=$"<policy>"
17 +#rpm alias --buildpolicy --define '__os_install_post @RPMCONFIGDIR@/brp-!#:+' \
18 +# --POPTdesc=$"set buildroot <policy> (e.g. compress man pages)" \
19 +# --POPTargs=$"<policy>"
22 -rpm exec --install-build-tree install-build-tree \
23 +rpmbuild exec --install-build-tree install-build-tree \
24 --POPTdesc=$"make all needed dirs for building binary rpms"
26 # Compiling with debuginfo may be enabled by --debug
27 -rpm alias --debug --define 'debug 1' \
28 - --POPTdesc=$"build packages with debug informations"
29 +#rpm alias --debug --define 'debug 1' \
30 +# --POPTdesc=$"build packages with debug informations"
31 rpmb alias --debug --define 'debug 1' \
32 --POPTdesc=$"build packages with debug informations"
33 rpmbuild alias --debug --define 'debug 1' \
34 --POPTdesc=$"build packages with debug informations"
36 # Conditional building
37 -rpm exec --bcond find-spec-bcond \
38 - --POPTdesc=$"find all --with/--without values"
39 +#rpm exec --bcond find-spec-bcond \
40 +# --POPTdesc=$"find all --with/--without values"
41 # Choose db interface:
43 # 1 native db1 interface (e.g. linux glibc libdb1 routines).
45 #rpm exec --target rpmb --target
46 #rpm exec --short-circuit rpmb --short-circuit
48 -rpm exec --initdb rpmd --initdb
49 -rpm exec --rebuilddb rpmd --rebuilddb
50 -rpm exec --verifydb rpmd --verifydb
52 -rpm exec --addsign rpmk --addsign
54 -rpm exec --checksig rpmk --checksig
55 -rpm exec --import rpmk --import
56 -rpm exec --resign rpmk --resign
59 -rpm exec --query rpmq --query
60 -rpm exec --querytags rpmq --querytags
63 -rpm exec --verify rpmv --verify
65 -rpm alias --with --define "_with_!#:+ --with-!#:+" \
66 - --POPTdesc=$"enable configure <option> for build" \
67 - --POPTargs=$"<option>"
68 -rpm alias --without --define "_without_!#:+ --without-!#:+" \
69 - --POPTdesc=$"disable configure <option> for build" \
70 - --POPTargs=$"<option>"
71 +#rpm exec --initdb rpmd --initdb
72 +#rpm exec --rebuilddb rpmd --rebuilddb
73 +#rpm exec --verifydb rpmd --verifydb
75 +#rpm exec --addsign rpmk --addsign
77 +#rpm exec --checksig rpmk --checksig
78 +#rpm exec --import rpmk --import
79 +#rpm exec --resign rpmk --resign
82 +#rpm exec --query rpmq --query
83 +#rpm exec --querytags rpmq --querytags
86 +#rpm exec --verify rpmv --verify
88 +#rpm alias --with --define "_with_!#:+ --with-!#:+" \
89 +# --POPTdesc=$"enable configure <option> for build" \
90 +# --POPTargs=$"<option>"
91 +#rpm alias --without --define "_without_!#:+ --without-!#:+" \
92 +# --POPTdesc=$"disable configure <option> for build" \
93 +# --POPTargs=$"<option>"
94 #==============================================================================
95 -rpmb alias --dbpath --define '_dbpath !#:+' \
96 - --POPTdesc=$"use database in DIRECTORY" \
97 - --POPTargs=$"DIRECTORY"
98 -rpmb alias --ftpport --define '_ftpport !#:+'
99 -rpmb alias --ftpproxy --define '_ftpproxy !#:+'
100 -rpmb alias --httpport --define '_httpport !#:+'
101 -rpmb alias --httpproxy --define '_httpproxy !#:+'
102 -rpmb alias --timecheck --define '_timecheck !#:+'
103 -rpmb alias --with --define "_with_!#:+ --with-!#:+" \
104 - --POPTdesc=$"enable configure <option> for build" \
105 - --POPTargs=$"<option>"
106 -rpmb alias --without --define "_without_!#:+ --without-!#:+" \
107 - --POPTdesc=$"disable configure <option> for build" \
108 - --POPTargs=$"<option>"
109 +#rpmb alias --dbpath --define '_dbpath !#:+' \
110 +# --POPTdesc=$"use database in DIRECTORY" \
111 +# --POPTargs=$"DIRECTORY"
112 +#rpmb alias --ftpport --define '_ftpport !#:+'
113 +#rpmb alias --ftpproxy --define '_ftpproxy !#:+'
114 +#rpmb alias --httpport --define '_httpport !#:+'
115 +#rpmb alias --httpproxy --define '_httpproxy !#:+'
116 +#rpmb alias --timecheck --define '_timecheck !#:+'
117 +#rpmb alias --with --define "_with_!#:+ --with-!#:+" \
118 +# --POPTdesc=$"enable configure <option> for build" \
119 +# --POPTargs=$"<option>"
120 +#rpmb alias --without --define "_without_!#:+ --without-!#:+" \
121 +# --POPTdesc=$"disable configure <option> for build" \
122 +# --POPTargs=$"<option>"
123 +# Build policies enabled from command line. Last policy applies.
124 +#rpmb alias --buildpolicy --define '__os_install_post @RPMCONFIGDIR@/brp-!#:+' \
125 +# --POPTdesc=$"set buildroot <policy> (e.g. compress man pages)" \
126 +# --POPTargs=$"<policy>"
128 #==============================================================================
129 rpmbuild alias --dbpath --define '_dbpath !#:+' \
130 --POPTdesc=$"use database in DIRECTORY" \
132 rpmbuild alias --without --define "_without_!#:+ --without-!#:+" \
133 --POPTdesc=$"disable configure <option> for build" \
134 --POPTargs=$"<option>"
135 +# Build policies enabled from command line. Last policy applies.
136 +rpmbuild alias --buildpolicy --define '__os_install_post @RPMCONFIGDIR@/brp-!#:+' \
137 + --POPTdesc=$"set buildroot <policy> (e.g. compress man pages)" \
138 + --POPTargs=$"<policy>"
140 #==============================================================================
141 rpmd alias --dbpath --define '_dbpath !#:+' \
142 --POPTdesc=$"use database in DIRECTORY" \