]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-drop-legacy-CLI.patch
- sync X/non-X: added Applications/Science
[packages/rpm.git] / rpm-drop-legacy-CLI.patch
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
3 @@ -105,31 +105,31 @@
4         --POPTdesc=$"find package name that contains a required capability (needs rpmdb-redhat package installed)"
5  
6  # colon separated i18n domains to use as PO catalogue lookaside for
7 -* retrieving header group/description/summary.
8 +# retrieving header group/description/summary.
9  #
10  # For Red Hat, value should be "redhat-dist:redhat-powertools".
11  rpm alias --i18ndomains --define '_i18ndomains !#:+'
12  
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>"
20  
21  # Make RPM build tree
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"
25  
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"
35  
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:
42  #      0       same as 1
43  #      1       native db1 interface (e.g. linux glibc libdb1 routines).
44 @@ -247,6 +247,11 @@
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>"
52 +
53  #==============================================================================
54  rpmd   alias --dbpath          --define '_dbpath !#:+' \
55         --POPTdesc=$"use database in DIRECTORY" \
This page took 0.030694 seconds and 3 git commands to generate.