1 --- rpm-4.2/rpmpopt.in.wiget Thu Mar 27 19:07:35 2003
2 +++ rpm-4.2/rpmpopt.in Thu Mar 27 19:07:36 2003
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 rpmbuild alias --without --define "_without_!#:+ --without-!#:+" \
46 --POPTdesc=$"disable configure <option> for build" \
47 --POPTargs=$"<option>"
48 +# Build policies enabled from command line. Last policy applies.
49 +rpmbuild alias --buildpolicy --define '__os_install_post @RPMCONFIGDIR@/brp-!#:+' \
50 + --POPTdesc=$"set buildroot <policy> (e.g. compress man pages)" \
51 + --POPTargs=$"<policy>"
53 #==============================================================================
54 rpmd alias --dbpath --define '_dbpath !#:+' \
55 --POPTdesc=$"use database in DIRECTORY" \