]> TLD Linux GIT Repositories - packages/rpm.git/blob - rpm-popt-aliases.patch
- release down to 2
[packages/rpm.git] / rpm-popt-aliases.patch
1 --- rpm-4.4.9/rpmpopt.in        2008-03-24 22:09:33.709972364 +0200
2 +++ rpm-4.4.9/rpmpopt.in        2008-04-04 18:51:45.658923774 +0300
3 @@ -240,5 +246,39 @@
4         --POPTdesc=$"trace macro expansion"
5  rpmspec alias --nodebuginfo    --define 'debug_package %{nil}' \
6         --POPTdesc=$"do not generate debuginfo for this package"
7 +# (PLD-specific) Make RPM build tree
8 +rpmbuild exec --install-build-tree install-build-tree \
9 +       --POPTdesc=$"make all needed dirs for building binary rpms"
10 +
11 +# (PLD-specific) Compiling with debuginfo may be enabled by --debug
12 +rpmbuild alias --debug --define 'debug 1' \
13 +       --POPTdesc=$"build packages with debug information"
14 +
15 +# (PLD-specific) Conditional building
16 +rpmbuild exec  --bcond find-spec-bcond \
17 +       --POPTdesc=$"find all --with/--without values"
18 +
19 +rpm     alias --with           --define "_with_!#:+     --with-!#:+" \
20 +       --POPTdesc=$"enable configure <option> for build" \
21 +       --POPTargs=$"<option>"
22 +rpm    alias --without --define "_without_!#:+  --without-!#:+" \
23 +       --POPTdesc=$"disable configure <option> for build" \
24 +       --POPTargs=$"<option>"
25 +
26 +rpm    alias --initdb  -qa --quiet \
27 +       --POPTdesc=$"Compatibility option with old rpm. Database is created lazily now."
28 +
29 +rpm    alias --downgrade       --oldpackage \
30 +       --POPTdesc=$"Allow an upgrade to replace a newer package with an older one."
31 +
32 +rpm alias --what-provides --whatprovides \
33 +       --POPTdesc=$"find package name that contains a provided capability"
34 +
35 +rpm alias --what-requires --whatrequires \
36 +       --POPTdesc=$"find package name that contains a required capability"
37 +
38 +rpmbuild alias --disable-debuginfo --define '_enable_debug_packages 0' \
39 +   --POPTdesc=$"Disable debuginfo package creation"
40 +
41  # \endverbatim
42  #*/