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:
f4c997c
)
Remove redundant anyarch check
author
Jindrich Novy
<jnovy@redhat.com>
Tue, 13 Jan 2009 18:28:47 +0000
(19:28 +0100)
committer
Jindrich Novy
<jnovy@redhat.com>
Tue, 13 Jan 2009 18:28:47 +0000
(19:28 +0100)
build/parsePreamble.c
patch
|
blob
|
history
diff --git
a/build/parsePreamble.c
b/build/parsePreamble.c
index
7bf0c13
..
c34f80d
100644
(file)
--- a/
build/parsePreamble.c
+++ b/
build/parsePreamble.c
@@
-901,8
+901,8
@@
int parsePreamble(rpmSpec spec, int initialPackage)
addMacro(spec->macros, "buildroot", NULL, spec->buildRoot, RMIL_SPEC);
}
- /*
XXX Skip valid arch check if not building binary package
*/
- if (
!spec->anyarch &&
checkForValidArchitectures(spec)) {
+ /*
This check is harmless as BuildArch tags are ignored in case of anyarch != 0
*/
+ if (checkForValidArchitectures(spec)) {
goto exit;
}