1995-12-14 23:54:13 +08:00
|
|
|
#ifndef _BUILD_H_
|
|
|
|
#define _BUILD_H_
|
|
|
|
|
|
|
|
#include "spec.h"
|
|
|
|
|
1995-12-21 07:33:55 +08:00
|
|
|
int doBuild(Spec s, int flags);
|
1995-12-28 00:43:32 +08:00
|
|
|
int execPrep(Spec s, int really_exec);
|
1995-12-14 23:54:13 +08:00
|
|
|
int execBuild(Spec s);
|
|
|
|
int execInstall(Spec s);
|
|
|
|
int execClean(Spec s);
|
|
|
|
int verifyList(Spec s);
|
|
|
|
|
1995-12-21 07:33:55 +08:00
|
|
|
#define RPMBUILD_PREP 1
|
|
|
|
#define RPMBUILD_BUILD (1 << 1)
|
|
|
|
#define RPMBUILD_INSTALL (1 << 2)
|
|
|
|
#define RPMBUILD_BINARY (1 << 3)
|
|
|
|
#define RPMBUILD_SOURCE (1 << 4)
|
1996-01-30 03:42:29 +08:00
|
|
|
#define RPMBUILD_SWEEP (1 << 5)
|
1995-12-21 07:33:55 +08:00
|
|
|
#define RPMBUILD_LIST (1 << 6)
|
1996-02-15 04:07:23 +08:00
|
|
|
#define RPMBUILD_RMSOURCE (1 << 7)
|
1995-12-21 07:33:55 +08:00
|
|
|
|
1995-12-14 23:54:13 +08:00
|
|
|
#endif _BUILD_H_
|