]> TLD Linux GIT Repositories - packages/rpm.git/blobdiff - rpm-popt-aliases.patch
- PLD merge
[packages/rpm.git] / rpm-popt-aliases.patch
index a6c54518cdfb54de999e221d9f269c7ac7ed83a5..61230b04339d1beeb6ae5eda3fc7b60ad4285e37 100644 (file)
@@ -1,6 +1,6 @@
 --- 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 +249,35 @@
+@@ -240,5 +249,42 @@
        --POPTdesc=$"trace macro expansion"
  rpmspec alias --nodebuginfo   --define 'debug_package %{nil}' \
        --POPTdesc=$"do not generate debuginfo for this package"
 +rpmbuild exec  --bcond find-spec-bcond \
 +      --POPTdesc=$"find all --with/--without values"
 +
++rpm    alias --with           --define "_with_!#:+     --with-!#:+" \
++      --POPTdesc=$"enable configure <option> for build" \
++      --POPTargs=$"<option>"
++rpm   alias --without --define "_without_!#:+  --without-!#:+" \
++      --POPTdesc=$"disable configure <option> for build" \
++      --POPTargs=$"<option>"
++
 +rpm   alias --initdb  -qa --quiet \
 +      --POPTdesc=$"Compatibility option with old rpm. Database is created lazily now."
 +