]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-popt-aliases.patch
- now db6.1 as an alternative for db5.2
[packages/rpm.git] / rpm-popt-aliases.patch
index 23e8154c301e8731f11d50937577fa3d05647aa3..001b73f507a67048cf788efead5dc04eb9959af1 100644 (file)
@@ -1,8 +1,30 @@
 --- 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
-@@ -595,4 +595,16 @@
+@@ -240,6 +249,18 @@
+       --POPTdesc=$"override build root" \
+       --POPTargs=$"DIRECTORY"
++# (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"
++
+ rpmbuild alias --lsb --noautoreq --noautoprov \
+       --define '_use_internal_dependency_generator 0' \
+       --notinlsb
+@@ -595,4 +595,22 @@
  rpmv  alias --httpproxy       --define '_httpproxy !#:+'
  
++rpm   alias --initdb  -qa --quiet \
++      --POPTdesc=$"Compatibility option with old rpm. Database is created lazily now."
++
 +rpm   alias --downgrade       --oldpackage \
 +      --POPTdesc=$"Allow an upgrade to replace a newer package with an older one."
 +
@@ -14,6 +36,9 @@
 +
 +rpm alias --norepackage --define '_repackage_all_erasures 0' \
 +      --POPTdesc=$"Disable re-package of the files before erasing"
++
++rpmbuild alias --disable-debuginfo --define '_enable_debug_packages 0' \
++   --POPTdesc=$"Disable debuginfo package creation"
 +
  # \endverbatim
  #*/
This page took 0.033328 seconds and 4 git commands to generate.