--- rpm-4.4.9/rpmpopt.in 2008-03-24 22:09:33.709972364 +0200
+++ rpm-4.4.9/rpmpopt.in 2008-04-04 18:51:45.658923774 +0300
@@ -240,5 +246,39 @@
--POPTdesc=$"trace macro expansion"
rpmspec alias --nodebuginfo --define 'debug_package %{nil}' \
--POPTdesc=$"do not generate debuginfo for this package"
+# (PLD-specific) Make RPM build tree
+rpmbuild exec --install-build-tree install-build-tree \
+ --POPTdesc=$"make all needed dirs for building binary rpms"
+
+# (PLD-specific) Compiling with debuginfo may be enabled by --debug
+rpmbuild alias --debug --define 'debug 1' \
+ --POPTdesc=$"build packages with debug information"
+
+# (PLD-specific) Conditional building
+rpmbuild exec --bcond find-spec-bcond \
+ --POPTdesc=$"find all --with/--without values"
+
+rpm alias --with --define "_with_!#:+ --with-!#:+" \
+ --POPTdesc=$"enable configure