-diff -Nru rpm-4.0/rpmpopt.in rpm-4.0.new/rpmpopt.in
---- rpm-4.0/rpmpopt.in Wed Nov 15 19:18:35 2000
-+++ rpm-4.0.new/rpmpopt.in Wed Nov 15 19:18:15 2000
-@@ -80,6 +80,19 @@
- # Build policies enabled from command line. Last policy applies.
- rpm alias --buildpolicy --define '__os_install_post @RPMCONFIGDIR@/brp-!#:+'
+--- rpm-4.4.4/rpmpopt.in.orig 2005-10-30 02:15:44.000000000 +0200
++++ rpm-4.4.4/rpmpopt.in 2005-11-18 22:43:57.809703712 +0100
+@@ -246,6 +246,15 @@
+ rpmb alias --without --define "_without_!#:+ --without-!#:+" \
+ --POPTdesc=$"disable configure <option> for build" \
+ --POPTargs=$"<option>"
++# (PLD-specific) Make RPM build tree
++rpmb 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
++rpmb alias --debug --define 'debug 1' \
++ --POPTdesc=$"build packages with debug information"
++# (PLD-specific) Conditional building
++rpmb exec --bcond find-spec-bcond \
++ --POPTdesc=$"find all --with/--without values"
+ #==============================================================================
+ rpmbuild alias --dbpath --define '_dbpath !#:+' \
+ --POPTdesc=$"use database in DIRECTORY" \
+@@ -247,6 +247,15 @@
+ --POPTargs=$"<option>"
+ rpmbuild alias --buildroot --define '.buildroot !#:+' \
+ --POPTdesc=$"override build root" \
++# (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"
+ --POPTargs=$"DIRECTORY"