X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=rpm-popt-aliases.patch;h=a6c54518cdfb54de999e221d9f269c7ac7ed83a5;hp=c87d727f376b39739464fc6025af38e26f445717;hb=ba7b32d5f30622e440fe838711c726bbd7f947ff;hpb=3b4e663f7da7c6b6a04aafc09a2a64fad396818c diff --git a/rpm-popt-aliases.patch b/rpm-popt-aliases.patch index c87d727..a6c5451 100644 --- a/rpm-popt-aliases.patch +++ b/rpm-popt-aliases.patch @@ -1,8 +1,24 @@ ---- ./rpmpopt.in 2008-03-13 16:18:11.169818380 +0200 -+++ rpm-4.4.9/rpmpopt.in 2008-03-24 22:09:33.709972364 +0200 -@@ -595,4 +595,13 @@ - rpmv alias --httpproxy --define '_httpproxy !#:+' - +--- 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 @@ + --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 --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." + @@ -11,6 +27,12 @@ + +rpm alias --what-requires --whatrequires \ + --POPTdesc=$"find package name that contains a required capability" ++ ++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 #*/