From e1bc4d313f7a1ff6f35d4fcf75ff14d4def8226c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20Schr=C3=B6der?= Date: Mon, 9 Jun 2008 17:22:23 +0000 Subject: [PATCH] - add workaround for mandriva so that it obeys or debuginfo setting --- build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build b/build index 1355384..66f8d04 100755 --- a/build +++ b/build @@ -1114,6 +1114,10 @@ for SPECFILE in "${SPECFILES[@]}" ; do rpmbopts[${#rpmbopts[@]}]='--eval' rpmbopts[${#rpmbopts[@]}]="%define jobs $BUILD_JOBS" fi + if test -s "$BUILD_ROOT/usr/lib/rpm/mandriva/macros" ; then + rpmbopts[${#rpmbopts[@]}]='--eval' + rpmbopts[${#rpmbopts[@]}]="%undefine _enable_debug_packages" + fi if [ -n "$BUILD_DEBUG" ]; then rpmbopts[${#rpmbopts[@]}]='--eval' rpmbopts[${#rpmbopts[@]}]="%suse_insert_debug_package" -- 2.7.4