move RPMBUILD_* to build.h

CVS patchset: 78
CVS date: 1995/12/20 23:34:12
This commit is contained in:
marc 1995-12-20 23:34:12 +00:00
parent 4738e299a3
commit 0f2ea3da00
1 changed files with 2 additions and 9 deletions

View File

@ -18,6 +18,7 @@
#include "messages.h"
#include "stringbuf.h"
#include "var.h"
#include "pack.h"
struct Script {
char *name;
@ -121,7 +122,7 @@ int execPart(Spec s, char *sb, char *name)
int execPrep(Spec s)
{
/* XXX Expand macros here */
/* XXX Expand %setup and %patch macros here */
return execPart(s, getStringBuf(s->prep), "%prep");
}
@ -145,14 +146,6 @@ int verifyList(Spec s)
return 0;
}
#define RPMBUILD_PREP 1
#define RPMBUILD_BUILD (1 << 1)
#define RPMBUILD_INSTALL (1 << 2)
#define RPMBUILD_BINARY (1 << 3)
#define RPMBUILD_SOURCE (1 << 4)
#define RPMBUILD_CLEAN (1 << 5)
#define RPMBUILD_LIST (1 << 6)
int doBuild(Spec s, int flags)
{