diff options
author | jbj <devnull@localhost> | 1998-09-24 20:36:54 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-09-24 20:36:54 +0000 |
commit | 54b2849f61f86f75c1eb7481c6aa7ebd4acb6284 (patch) | |
tree | 16e51226467b4ffb186bc928b495d51a9b86c92c /build.c | |
parent | d6a3e244e0aa5308844623f7973f03bd87dc3aaf (diff) | |
download | rpm-54b2849f61f86f75c1eb7481c6aa7ebd4acb6284.tar.gz rpm-54b2849f61f86f75c1eb7481c6aa7ebd4acb6284.tar.bz2 rpm-54b2849f61f86f75c1eb7481c6aa7ebd4acb6284.zip |
skip arch checks if only packaging source rpm.
CVS patchset: 2352
CVS date: 1998/09/24 20:36:54
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -129,9 +129,13 @@ int buildplatform(char *arg, int buildAmount, char *passPhrase, s++; } - if (parseSpec(&spec, specfile, buildRoot, 0, passPhrase, cookie)) { - return 1; +#define _anyarch(_f) \ +(((_f)&(RPMBUILD_PACKAGESOURCE|RPMBUILD_PACKAGEBINARY)) == RPMBUILD_PACKAGESOURCE) + if (parseSpec(&spec, specfile, buildRoot, 0, passPhrase, cookie, + _anyarch(buildAmount))) { + return 1; } +#undef _anyarch if (buildSpec(spec, buildAmount, test)) { freeSpec(spec); |