CVS patchset: 2527
CVS date: 1998/11/07 22:05:28
- there must be a { between two % in a query format (unless %% is used)
2.5.5 -> 2.5.6:
+ - check arch only on RPMBUILD_{PREP,BUILD,INSTALL,PACKAGEBINARY}.
- configure.in: set default value for RPM. (Tim Mooney)
- add new Epoch: keyword just like Serial:.
- update Russian translation w man pages.
}
#define _anyarch(_f) \
-(((_f)&(RPMBUILD_PACKAGESOURCE|RPMBUILD_PACKAGEBINARY)) == RPMBUILD_PACKAGESOURCE)
+(((_f)&(RPMBUILD_PREP|RPMBUILD_BUILD|RPMBUILD_INSTALL|RPMBUILD_PACKAGEBINARY)) == 0)
if (parseSpec(&spec, specfile, buildRoot, 0, passPhrase, cookie,
_anyarch(buildAmount))) {
return 1;