]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-drop-legacy-CLI.patch
- rebuild with latest rpm.macros
[packages/rpm.git] / rpm-drop-legacy-CLI.patch
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
3 @@ -93,31 +93,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 @@ -173,44 +173,49 @@
45  #rpm   exec --target           rpmb --target
46  #rpm   exec --short-circuit    rpmb --short-circuit
47  
48 -rpm    exec --initdb           rpmd --initdb
49 -rpm    exec --rebuilddb        rpmd --rebuilddb
50 -rpm    exec --verifydb         rpmd --verifydb
51 -
52 -rpm    exec --addsign          rpmk --addsign
53 -rpm    exec -K                 rpmk -K
54 -rpm    exec --checksig         rpmk --checksig
55 -rpm    exec --import           rpmk --import
56 -rpm    exec --resign           rpmk --resign
57 -
58 -rpm    exec -q                 rpmq -q
59 -rpm    exec --query            rpmq --query
60 -rpm    exec --querytags        rpmq --querytags
61 -rpm    exec -V                 rpmv -V
62 -rpm    exec -y                 rpmv -y
63 -rpm    exec --verify           rpmv --verify
64 -
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
74 +
75 +#rpm   exec --addsign          rpmk --addsign
76 +#rpm   exec -K                 rpmk -K
77 +#rpm   exec --checksig         rpmk --checksig
78 +#rpm   exec --import           rpmk --import
79 +#rpm   exec --resign           rpmk --resign
80 +
81 +#rpm   exec -q                 rpmq -q
82 +#rpm   exec --query            rpmq --query
83 +#rpm   exec --querytags        rpmq --querytags
84 +#rpm   exec -V                 rpmv -V
85 +#rpm   exec -y                 rpmv -y
86 +#rpm   exec --verify           rpmv --verify
87 +
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>"
127 +
128  #==============================================================================
129  rpmbuild       alias --dbpath          --define '_dbpath !#:+' \
130         --POPTdesc=$"use database in DIRECTORY" \
131 @@ -226,6 +231,11 @@
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>"
139 +
140  #==============================================================================
141  rpmd   alias --dbpath          --define '_dbpath !#:+' \
142         --POPTdesc=$"use database in DIRECTORY" \
This page took 0.086873 seconds and 3 git commands to generate.