projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ead63
)
- add workaround for mandriva so that it obeys or
author
Michael Schröder
<mls@suse.de>
Mon, 9 Jun 2008 17:22:23 +0000
(17:22 +0000)
committer
Michael Schröder
<mls@suse.de>
Mon, 9 Jun 2008 17:22:23 +0000
(17:22 +0000)
debuginfo setting
build
patch
|
blob
|
history
diff --git
a/build
b/build
index
1355384
..
66f8d04
100755
(executable)
--- 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"