projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ba387b
)
Ignore BuildArch tags for anyarch actions (rhbz#442105)
author
Jindrich Novy
<jnovy@redhat.com>
Mon, 12 Jan 2009 15:15:27 +0000
(16:15 +0100)
committer
Jindrich Novy
<jnovy@redhat.com>
Mon, 12 Jan 2009 15:22:38 +0000
(16:22 +0100)
build/parsePreamble.c
patch
|
blob
|
history
diff --git
a/build/parsePreamble.c
b/build/parsePreamble.c
index
3309177
..
37526d6
100644
(file)
--- a/
build/parsePreamble.c
+++ b/
build/parsePreamble.c
@@
-859,8
+859,14
@@
int parsePreamble(rpmSpec spec, int initialPackage)
goto exit;
}
if (spec->BANames && !spec->recursing) {
- res = PART_BUILDARCHITECTURES;
- goto exit;
+ /* Ignore BuildArch tags for anyarch actions */
+ if (spec->anyarch) {
+ spec->BANames = _free(spec->BANames);
+ spec->BACount = 0;
+ } else {
+ res = PART_BUILDARCHITECTURES;
+ goto exit;
+ }
}
}
if ((rc =