rpm  5.4.10
rpmpopt
Go to the documentation of this file.
1 #/*! \page config_rpmpopt Default configuration: /usr/lib/rpm/rpmpopt-5.4.10
2 # \verbatim
3 #
4 # /usr/lib/rpm/rpmpopt. Generated from rpmpopt.in by configure.
5 # $Id: rpmpopt.in,v 2.92.2.4 2012/04/27 20:39:21 jbj Exp $
6 #
7 # This file *should not be modified*. Local customizations
8 # belong in /etc/popt, not here. This file will be replaced
9 # whenever a new version of RPM is installed.
10 #
11 # Note: Not all popt aliases are documented. This is a decision on my
12 # part as to which are the more important aliases. Feel free to clip
13 # a copy of the alias/exec here and place in /etc/popt or ~/.popt with
14 # your own words added. It's easier than arguing about how many options
15 # fit on the head of an executable :-)
16 #
17 
18 #==============================================================================
19 rpm alias --scripts --qf '\
20 %|PRETRANS?{pretransinstall scriptlet\
21 %|PRETRANSPROG?{ (using %{PRETRANSPROG})}|:\n%{PRETRANS}\n}:\
22 {%|PRETRANSPROG?{pretransinstall program: %{PRETRANSPROG}\n}|}|\
23 \
24 %|PREIN?{preinstall scriptlet\
25 %|PREINPROG?{ (using %{PREINPROG})}|:\n%{PREIN}\n}:\
26 {%|PREINPROG?{preinstall program: %{PREINPROG}\n}|}|\
27 \
28 %|POSTIN?{postinstall scriptlet\
29 %|POSTINPROG?{ (using %{POSTINPROG})}|:\n%{POSTIN}\n}:\
30 {%|POSTINPROG?{postinstall program: %{POSTINPROG}\n}|}|\
31 \
32 %|PREUN?{preuninstall scriptlet\
33 %|PREUNPROG?{ (using %{PREUNPROG})}|:\n%{PREUN}\n}:\
34 {%|PREUNPROG?{preuninstall program: %{PREUNPROG}\n}|}|\
35 \
36 %|POSTUN?{postuninstall scriptlet\
37 %|POSTUNPROG?{ (using %{POSTUNPROG})}|:\n%{POSTUN}\n}:\
38 {%|POSTUNPROG?{postuninstall program: %{POSTUNPROG}\n}|}|\
39 \
40 %|POSTTRANS?{posttransinstall scriptlet\
41 %|POSTTRANSPROG?{ (using %{POSTTRANSPROG})}|:\n%{POSTTRANS}\n}:\
42 {%|POSTTRANSPROG?{posttransinstall program: %{POSTTRANSPROG}\n}|}|\
43 \
44 %|VERIFYSCRIPT?{verify scriptlet\
45 %|VERIFYSCRIPTPROG?{ (using %{VERIFYSCRIPTPROG})}|:\n%{VERIFYSCRIPT}\n}:\
46 {%|VERIFYSCRIPTPROG?{verifyscript program: %{VERIFYSCRIPTPROG}\n}|}|\
47 ' \
48  --POPTdesc=$"list install/erase scriptlets from package(s)"
49 
50 #==============================================================================
51 rpm alias --scripts:yaml --qf '\
52 %|PREINPROG?{Prein(%{PREINPROG}):\
53  %{PREIN:yaml}|\
54 \n}|\
55 %|POSTINPROG?{Postin(%{POSTINPROG}):\
56  %{POSTIN:yaml}\
57 \n}|\
58 %|PREUNPROG?{Preun(%{PREUNPROG}):\
59  %{PREUN:yaml}\
60 \n}|\
61 %|POSTUNPROG?{Postun(%{POSTUNPROG}):\
62  %{POSTUN:yaml}\
63 \n}|\
64 ' \
65  --POPTdesc=$"list install/erase scriptlets (YAML markup)"
66 
67 #==============================================================================
68 rpm alias --danglinglink --nofiles \
69  --pipe "set $(grep '^/' | sort -u) ; [ -L \"$1\" ] && echo \"$1\" " \
70  --POPTdesc=$"display link needed, but not provided, by packages"
71 
72 rpm alias --orphandirs --nofiles \
73  --pipe "set $(grep '^/' | sort -u) ; [ -d \"$1\" ] && echo \"$1\" " \
74  --POPTdesc=$"display directories needed, but not provided, by packages"
75 
76 rpm alias --setperms -q --qf '[\[ -L %{FILENAMES:shescape} \] || chmod %7.7{FILEMODES:octal} %{FILENAMES:shescape}\n]' \
77  --pipe "grep -v \(none\) | sed 's/chmod .../chmod /' | sh" \
78  --POPTdesc=$"set permissions of files in a package"
79 
80 rpm alias --setugids -q --qf \
81  '[ch %{FILEUSERNAME:shescape} %{FILEGROUPNAME:shescape} %{FILENAMES:shescape}\n]' \
82  --pipe "(echo 'ch() { chown -h -- \"$1\" \"$3\";chgrp -h -- \"$2\" \"$3\"; }';grep -v \(none\))|sh" \
83  --POPTdesc=$"set user/group ownership of files in a package"
84 
85 rpm alias --setfscontext -q --qf \
86  '[%{FILENAMES}\n]' \
87  --pipe "[ -x /sbin/restorecon ] && /sbin/restorecon -R -i -f - || :" \
88  --POPTdesc=$"set selinux extended attributes file context of files in a package"
89 
90 rpm alias --conflicts --qf \
91  "[%{CONFLICTNAME}%{CONFLICTFLAGS:depflags}%{CONFLICTVERSION}\n]" \
92  --POPTdesc=$"list capabilities this package conflicts with"
93 rpm alias --obsoletes --qf \
94  "[%{OBSOLETENAME}%|OBSOLETEFLAGS?{%{OBSOLETEFLAGS:depflags}%{OBSOLETEVERSION}}:{}|\n]" \
95  --POPTdesc=$"list other packages removed by installing this package"
96 rpm alias --provides --qf \
97  "[%{PROVIDENAME}%|PROVIDEFLAGS?{%{PROVIDEFLAGS:depflags}%{PROVIDEVERSION}}:{}|\n]" \
98  --POPTdesc=$"list capabilities that this package provides"
99 
100 rpm alias --requires --qf \
101  "[%{REQUIRENAME}%{REQUIREFLAGS:hint:depflags}%{REQUIREVERSION}\n]" \
102  --pipe "grep -v \(hint\)" \
103  --POPTdesc=$"list capabilities required by package(s)"
104 rpm alias -R --requires
105 
106 rpm alias --suggests --qf "[%{suggests}\n]" \
107  --POPTdesc=$"list enhancements suggested by package(s)"
108 
109 rpm alias --enhances --qf "[%{enhances}\n]" \
110  --POPTdesc=$"list enhancements suggested by package(s)"
111 
112 rpm alias --info --qf 'Name : %-27{NAME} Relocations: %|PREFIXES?{[%{PREFIXES} ]}:{(not relocatable)}|\n\
113 Version : %-27{VERSION} Vendor: %{VENDOR}\n\
114 Release : %-27{RELEASE} Build Date: %{BUILDTIME:date}\n\
115 Install Date: %|INSTALLTIME?{%-27.27{INSTALLTIME:date}}:{(not installed) }| Build Host: %{BUILDHOST}\n\
116 Group : %-29.29{GROUP} Source RPM: %{SOURCERPM}\n\
117 Size : %-27{SIZE}%|LICENSE?{ License: %{LICENSE}}|\n\
118 Signature : %|DSAHEADER?{%{DSAHEADER:pgpsig}}:{%|RSAHEADER?{%{RSAHEADER:pgpsig}}:{%|SIGGPG?{%{SIGGPG:pgpsig}}:{%|SIGPGP?{%{SIGPGP:pgpsig}}:{(none)}|}|}|}|\n\
119 %|PACKAGER?{Packager : %{PACKAGER}\n}|\
120 %|URL?{URL : %{URL}\n}|\
121 Summary : %{SUMMARY}\n\
122 Architecture: %{ARCH}\n\
123 Description :\n%{DESCRIPTION}\n' \
124  --POPTdesc=$"list descriptive information from package(s)"
125 
126 rpm alias --changelog --qf '[* %{CHANGELOGTIME:day} %{CHANGELOGNAME}\n%{CHANGELOGTEXT}\n\n]' \
127  --POPTdesc=$"list change logs for this package"
128 
129 #==============================================================================
130 rpm alias --xml --qf '[%{*:xml}\n]' \
131  --POPTdesc=$"list metadata in XML"
132 rpm alias --yaml --qf '[%{*:yaml}\n]' \
133  --POPTdesc=$"list metadata in YAML"
134 rpm alias --json --qf '[%{*:json}]' \
135  --POPTdesc=$"list metadata in JSON"
136 rpm alias --whatneeds -q --qf '[%{whatneeds}\n]' \
137  --POPTdesc=$"list packages that depend on args"
138 rpm alias --needswhat -q --qf '[%{needswhat}\n]' \
139  --POPTdesc=$"list prerequisite packages of args"
140 
141 #==============================================================================
142 #rpm alias --mancoosi:dudf.xml --qf '\
143 #<dudf xmlns="http://www.mancoosi.org/2008/cudf/dudf" version="1.0">\
144 #\n <timestamp>Thu, 02 Oct 2008 17:28:48 +0200</timestamp>\
145 #\n <distribution>MandrivaLinux</distribution>\
146 #\n <installer>\
147 #\n <name>rpm</name>\
148 #\n <version>5.2</version>\
149 #\n </installer>\
150 #\n <meta-installer>\
151 #\n <name>rpm</name>\
152 #\n <version>5.2</version>\
153 #\n </meta-installer>\
154 #\n <problem>\
155 #\n <installer>\
156 #\n <package-status format="rpm_db_header">\
157 #\n <package name="gpg-pubkey" version="22458a98" arch="src" release="3969e7de">\
158 #\n <provides>gpg(Mandriva Security Team &lt;security mandriva.com&gt;)[== 4:9aa8d0d022458a98-3969e7de] gpg(22458a98)[== 4:9aa8d0d022458a98-3969e7de] </provides>\
159 #\n </package>\
160 #\n <package name="gpg-pubkey" version="26752624" arch="src" release="3fd74faa">\
161 #\n <provides>gpg(MandrakeCooker &lt;cooker linux-mandrake.com&gt;)[== 4:dd684d7a26752624-3fd74faa] gpg(26752624)[== 4:dd684d7a26752624-3fd74faa] </provides>\
162 #\n </package>\
163 #\n <package name="dash-static" version="0.5.4" arch="i586" release="7mdv2008.1">\
164 #\n <provides>ash /bin/dash.static dash-static[== 0.5.4-7mdv2008.1] </provides>\
165 #\n <conflicts>dash[&lt; 0.5.4-3] </conflicts>\
166 #\n </package>\
167 #\n <package name="gpg-pubkey" version="70771ff3" arch="src" release="3c8f768f">\
168 #\n <provides>gpg(Mandrake Linux &lt;mandrake mandrakesoft.com&gt;)[== 4:e7898ae070771ff3-3c8f768f] gpg(70771ff3)[== 4:e7898ae070771ff3-3c8f768f] </provides>\
169 #\n </package>\
170 #\n <package name="gpg-pubkey" version="70771ff3" arch="src" release="3c8f768f">\
171 #\n <provides>gpg(Mandrake Linux &lt;mandrake mandrakesoft.com&gt;)[== 4:e7898ae070771ff3-3c8f768f] gpg(70771ff3)[== 4:e7898ae070771ff3-3c8f768f] </provides>\
172 #\n </package>\
173 #\n <package name="gpg-pubkey" version="78d019f5" arch="src" release="3fd7504d">\
174 #\n <provides>gpg(MandrakeContrib &lt;cooker linux-mandrake.com&gt;)[== 4:445935f878d019f5-3fd7504d] gpg(78d019f5)[== 4:445935f878d019f5-3fd7504d] </provides>\
175 #\n </package>\
176 #\n <package name="gpg-pubkey" version="70771ff3" arch="src" release="44b3822e">\
177 #\n <provides>gpg(Mandriva Linux &lt;mandriva mandriva.com&gt;)[== 4:e7898ae070771ff3-44b3822e] gpg(70771ff3)[== 4:e7898ae070771ff3-44b3822e] </provides>\
178 #\n </package>\
179 #\n <package name="glibc" version="2.7" arch="i586" release="12mnb1">\
180 #\n'
181 
182 #==============================================================================
183 #rpm alias --deb:control --qf '\
184 #Package: %{NAME}\
185 #\nVersion: %|EPOCH?{%{EPOCH}:}|%{VERSION}-%{RELEASE}\
186 #\nSection: %{GROUP}\
187 #%|Priority?{\
188 #\nPriority: %{Priority}\
189 #}:{\
190 #\nPriority: standard\
191 #}|\
192 #\nArchitecture: %{ARCH:strsub(noarch,all,src,source)}\
193 #%|Essential?{\
194 #\nEssential: %{Essential}\
195 #}|\
196 #%|REQUIRENAME?{\
197 #\nDepends:[ %{Debdepends}]\
198 #}|\
199 #%|Predepends?{\
200 #\nPre-Depends:[ %{Predepends}]\
201 #}|\
202 #%|Recommends?{\
203 #\nRecommends:[ %{Recommends}]\
204 #}|\
205 #%|Suggests?{\
206 #\nSuggests:[ %{Suggests}]\
207 #}|\
208 #%|Enhances?{\
209 #\nEnhances:[ %{Enhances}]\
210 #}|\
211 #%|Breaks?{\
212 #\nBreaks:[ %{Breaks}]\
213 #}|\
214 #%|CONFLICTNAME?{\
215 #\nConflicts:[ %{Debconflicts}]\
216 #}|\
217 #\nInstalled-Size: %{SIZE:rpn(1023,+,1024,/)}\
218 #%|PACKAGER?{\
219 #\nMaintainer: %{PACKAGER}\
220 #}|\
221 #\nDescription: %{SUMMARY}\
222 #\n%{DESCRIPTION:strsub(^, )}\
223 #%|URL?{\
224 #\nHomepage: %{URL}\
225 #}|\
226 #\n' \
227 # --POPTdesc=$"display binary debian/control file"
228 
229 rpm alias --deb:Packages --qf /usr/lib/rpm/qf/deb_Packages \
230  --POPTdesc=$"display Debian Packages file"
231 
232 rpm alias --deb:Sources --qf /usr/lib/rpm/qf/deb_Sources \
233  --POPTdesc=$"display Debian Sources file"
234 
235 rpm alias --deb:control --qf /usr/lib/rpm/qf/deb_control \
236  --POPTdesc=$"display binary debian/control file"
237 
238 rpm alias --deb:preinst --qf /usr/lib/rpm/qf/deb_preinst \
239  --POPTdesc=$"display debian/preinst script"
240 
241 rpm alias --deb:postinst --qf /usr/lib/rpm/qf/deb_postinst \
242  --POPTdesc=$"display debian/postinst script"
243 
244 rpm alias --deb:prerm --qf /usr/lib/rpm/qf/deb_prerm \
245  --POPTdesc=$"display debian/prerm script"
246 
247 rpm alias --deb:postrm --qf /usr/lib/rpm/qf/deb_postrm \
248  --POPTdesc=$"display debian/postrm script"
249 
250 rpm alias --deb:md5sums --qf /usr/lib/rpm/qf/deb_md5sums \
251  --POPTdesc=$"display debian/md5sums manifest"
252 
253 #==============================================================================
254 rpm alias --yum:primary.xml --qf /usr/lib/rpm/qf/yum_primary_xml \
255  --POPTdesc=$"display yum primary.xml markup"
256 
257 rpm alias --yum:filelists.xml --qf /usr/lib/rpm/qf/yum_filelists_xml \
258  --POPTdesc=$"display yum filelists.xml markup"
259 
260 rpm alias --yum:other.xml --qf /usr/lib/rpm/qf/yum_other_xml \
261  --POPTdesc=$"display yum other.xml markup"
262 
263 #==============================================================================
264 rpm alias --yum:primary.sqlite --qf /usr/lib/rpm/qf/yum_primary_sqlite \
265  --POPTdesc=$"display yum primary.sqlite import"
266 
267 rpm alias --yum:filelists.sqlite --qf /usr/lib/rpm/qf/yum_filelists_sqlite \
268  --POPTdesc=$"display yum filelists.sqlite import"
269 
270 rpm alias --yum:other.sqlite --qf /usr/lib/rpm/qf/yum_other_sqlite \
271  --POPTdesc=$"display yum other.sqlite import"
272 
273 #==============================================================================
274 rpm alias --wnh:primary.yaml --qf /usr/lib/rpm/qf/wnh_primary_yaml \
275  --POPTdesc=$"display wnh primary.yaml markup"
276 
277 rpm alias --wnh:filelists.yaml --qf /usr/lib/rpm/qf/wnh_filelists_yaml \
278  --POPTdesc=$"display wnh filelists.yaml markup"
279 
280 rpm alias --wnh:other.yaml --qf /usr/lib/rpm/qf/wnh_other_yaml \
281  --POPTdesc=$"display wnh other.yaml markup"
282 
283 #==============================================================================
284 rpm alias --wnh:primary.mongo --qf /usr/lib/rpm/qf/wnh_primary_mongo \
285  --POPTdesc=$"display wnh primary.mongo markup"
286 
287 rpm alias --wnh:filelists.mongo --qf /usr/lib/rpm/qf/wnh_filelists_mongo \
288  --POPTdesc=$"display wnh filelists.mongo markup"
289 
290 rpm alias --wnh:other.mongo --qf /usr/lib/rpm/qf/wnh_other_mongo \
291  --POPTdesc=$"display wnh other.mongo markup"
292 
293 #==============================================================================
294 rpm alias --wdj:srpm --qf /usr/lib/rpm/qf/wdj_srpm \
295  --POPTdesc=$"display wdj binary->source Cassandra markup"
296 rpm alias --wdj:srpm.mongo --qf /usr/lib/rpm/qf/wdj_srpm_mongo \
297  --POPTdesc=$"display wdj binary->source Mongo markup"
298 rpm alias --wdj:l10n.sqlite --qf /usr/lib/rpm/qf/wdj_l10n_sqlite \
299  --POPTdesc=$"display wdj l10n.sqlite markup "
300 
301 #==============================================================================
302 rpm alias --nix:meta --qf /usr/lib/rpm/qf/nix_meta \
303  --POPTdesc=$"display nix meta markup"
304 
305 rpm alias --xiu:stdenv --qf /usr/lib/rpm/qf/xiu_stdenv \
306  --POPTdesc=$"display xiu stdenv markup"
307 
308 #==============================================================================
309 rpm alias --triggerscripts --qf '\
310 [trigger%{TRIGGERTYPE} scriptlet (using %{TRIGGERSCRIPTPROG}) -- %{TRIGGERCONDS}\n\
311 %{TRIGGERSCRIPTS}\n]'
312 rpm alias --triggers --triggerscripts \
313  --POPTdesc=$"list trigger scriptlets from package(s)"
314 
315 rpm alias --last --qf '%|INSTALLTIME?{%{INSTALLTIME}}:{000000000}| %{NAME}-%{VERSION}-%{RELEASE}%|DISTTAG?{-%{DISTTAG}%|DISTEPOCH?{%{DISTEPOCH}}|}|%|ARCH?{.%|SOURCERPM?{%{ARCH}}:{src}|}:{}| %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n' \
316  --pipe "sort -r -n | sed 's,^[0-9]\+ ,,' | awk '{printf(\"%-45s %-s\n\", $1, substr($0,length($1)+2))}' " \
317  --POPTdesc=$"list package(s) by install time, most recent first"
318 
319 rpm alias --dupes --qf '%|SOURCERPM?{%{name}.%{arch}}:{%|ARCH?{%{name}}:{%{name}-%{version}}|}|\n' --pipe "sort | uniq -d" \
320  --POPTdesc=$"list duplicated packages"
321 
322 rpm alias --filesbypkg --qf '[%-25{=NAME} %{FILENAMES}\n]' \
323  --POPTdesc=$"list all files from each package"
324 
325 rpm alias --fileclass --qf '[%{FILENAMES}\t%{FILECLASS}\n]' \
326  --POPTdesc=$"list file names with classes"
327 
328 rpm alias --filecolor --qf '[%{FILENAMES}\t%{FILECOLORS}\n]' \
329  --POPTdesc=$"list file names with colors"
330 
331 rpm alias --filecontext --qf '[%{FILENAMES}\t%{FILECONTEXTS}\n]' \
332  --POPTdesc=$"list file names with security context from header"
333 
334 rpm alias --fscontext --qf '[%{FILENAMES}\t%{FSCONTEXTS}\n]' \
335  --POPTdesc=$"list file names with security context from file system"
336 
337 rpm alias --recontext --qf '[%{FILENAMES}\t%{RECONTEXTS}\n]' \
338  --POPTdesc=$"list file names with security context from policy RE"
339 
340 rpm alias --fileprovide --qf '[%{FILENAMES}\t%{FILEPROVIDE}\n]' \
341  --POPTdesc=$"list file names with provides"
342 
343 rpm alias --filerequire --qf '[%{FILENAMES}\t%{FILEREQUIRE}\n]' \
344  --POPTdesc=$"list file names with requires"
345 
346 rpm alias --vendorprovides -q --define '_dbpath /usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/%{_vendor}' --whatprovides \
347  --POPTdesc=$"find package name that contains a provided capability (needs rpmdb-vendor package installed)"
348 
349 rpm alias --vendorrequires -q --define '_dbpath /usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/%{_vendor}' --whatrequires \
350  --POPTdesc=$"find package name that contains a required capability (needs rpmdb-vendor package installed)"
351 
352 #
353 # Autorollback aliases
354 rpm alias --autorollback --define '_rollback_transaction_on_failure 1' \
355  --POPTdesc=$"Failed transactions will be rolled back automatically"
356 
357 rpm alias --blink --qf '%{name}-%{version}-%{release}.%|SOURCERPM?{%{arch}.rpm}:{%|ARCH?{src.rpm}:{pubkey}|}|\n%|BLINKNEVRA?{[\t<= %{BLINKNEVRA}.rpm\n]}|'
358  \
359  --POPTdesc=$"display package(s) previously installed"
360 rpm alias --flink --qf '%{name}-%{version}-%{release}.%|SOURCERPM?{%{arch}.rpm}:{%|ARCH?{src.rpm}:{pubkey}|}|\n%|FLINKNEVRA?{[\t=> %{FLINKNEVRA}.rpm\n]}|'
361  \
362  --POPTdesc=$"display package(s) which replaced"
363 
364 
365 # colon separated i18n domains to use as PO catalogue lookaside for
366 # retrieving header group/description/summary.
367 #
368 # For vendors, value should be "vendor-dist".
369 rpm alias --i18ndomains --define '_i18ndomains !#:+'
370 
371 # Build policies enabled from command line. Last policy applies.
372 rpm alias --buildpolicy --define '__os_install_post %{_usrlibrpm}/brp-!#:+' \
373  --POPTdesc=$"set buildroot <policy> (e.g. compress man pages)" \
374  --POPTargs=$"<policy>"
375 
376 # Short-hand option
377 rpm alias --force --replacepkgs --replacefiles --oldpackage \
378  --POPTdesc=$"force operation (short hand for --replacepkgs --replacefiles --oldpackage on installation)"
379 
380 # Choose db interface:
381 # 0 same as 1
382 # 1 native db1 interface (e.g. linux glibc libdb1 routines).
383 # 2 native db2 interface.
384 # 3 native db3 interface.
385 # -1 db3 -> db2 -> db1 (as available).
386 #
387 # There are two macros so that --rebuilddb can convert db1 -> db3
388 rpm alias --dbapi --define '_dbapi !#:+'
389 
390 rpm alias --rebuilddbapi --define '_dbapi_rebuild !#:+'
391 rpm alias --rebuilddbpath --define '_dbpath_rebuild !#:+'
392 
393 # permit fsync disabling of Berkeley DB (caveat: experimental & risky)
394 rpm alias --nofsync --define '__nofsync nofsync'
395 
396 #==============================================================================
397 # [--dbpath DIRECTORY" "use database in DIRECTORY"
398 rpm alias --dbpath --define '_dbpath !#:+'
399 # [--ftpport <port>] "port number of ftp server (or proxy)"
400 rpm alias --ftpport --define '_ftpport !#:+'
401 # [--ftpproxy <host>] "hostname or IP of ftp proxy"
402 rpm alias --ftpproxy --define '_ftpproxy !#:+'
403 # [--httpport <port>] "port number of http server (or proxy)"
404 rpm alias --httpport --define '_httpport !#:+'
405 # [--httpproxy <host>] "hostname or IP of http proxy"
406 rpm alias --httpproxy --define '_httpproxy !#:+'
407 
408 # RPM_VENDOR_PLD /* rpm-popt-aliases */
409 rpm alias --downgrade --oldpackage \
410  --POPTdesc=$"Allow an upgrade to replace a newer package with an older one."
411 
412 rpm alias --what-provides --whatprovides \
413  --POPTdesc=$"find package name that contains a provided capability"
414 
415 rpm alias --what-requires --whatrequires \
416  --POPTdesc=$"find package name that contains a required capability"
417 
418 rpm alias --norepackage --define '_repackage_all_erasures 0' \
419  --POPTdesc=$"Disable re-package of the files before erasing"
420 # RPM_VENDOR_PLD /* rpm-popt-aliases */
421 
422 # set the time check to <secs>
423 rpm alias --timecheck --define '_timecheck !#:+'
424 
425 rpm alias --with --define "_with_!#:+ --with-!#:+" \
426  --POPTdesc=$"enable configure <option> for build" \
427  --POPTargs=$"<option>"
428 rpm alias --without --define "_without_!#:+ --without-!#:+" \
429  --POPTdesc=$"disable configure <option> for build" \
430  --POPTargs=$"<option>"
431 
432 rpm alias --arch --qf '%-34{=NAME}\t%{ARCH}\n' \
433  --POPTdesc=$"list package architecture"
434 
435 rpm alias --ignorearch --define '__ignore_arch 1'
436 rpm alias --ignoreos --define '__ignore_os 1'
437 
438 #==============================================================================
439 rpmbuild alias --dbpath --define '_dbpath !#:+' \
440  --POPTdesc=$"use database in DIRECTORY" \
441  --POPTargs=$"DIRECTORY"
442 rpmbuild alias --ftpport --define '_ftpport !#:+'
443 rpmbuild alias --ftpproxy --define '_ftpproxy !#:+'
444 rpmbuild alias --httpport --define '_httpport !#:+'
445 rpmbuild alias --httpproxy --define '_httpproxy !#:+'
446 rpmbuild alias --timecheck --define '_timecheck !#:+'
447 rpmbuild alias --with --define "_with_!#:+ --with-!#:+" \
448  --POPTdesc=$"enable configure <option> for build" \
449  --POPTargs=$"<option>"
450 rpmbuild alias --without --define "_without_!#:+ --without-!#:+" \
451  --POPTdesc=$"disable configure <option> for build" \
452  --POPTargs=$"<option>"
453 rpmbuild alias --buildroot --define '.buildroot !#:+' \
454  --POPTdesc=$"override build root" \
455  --POPTargs=$"DIRECTORY"
456 
457 rpmbuild alias --lsb --noautoreq --noautoprov \
458  --define '_use_internal_dependency_generator 0' \
459  --notinlsb
460 
461 rpmbuild alias --withoutcheck --define 'check exit 0' \
462  --POPTdesc=$"disable %check stanza for build"
463 rpmbuild alias --withoutclean --define '__spec_clean_body %{nil}' \
464  --POPTdesc=$"disable %clean stanza for build"
465 # \endverbatim
466 #*/