summaryrefslogtreecommitdiff
path: root/build/build.h
blob: aa984a5f33de8984a3f87c9d180495715d6c2f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _BUILD_H_
#define _BUILD_H_

#include "spec.h"

int doBuild(Spec s, int flags, char *passPhrase);
int execPrep(Spec s, int really_exec, int test);
int execBuild(Spec s, int test);
int execInstall(Spec s, int test);
int execClean(Spec s);
int verifyList(Spec s);

extern char build_subdir[1024];

#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_SWEEP      (1 << 5)
#define RPMBUILD_LIST       (1 << 6)
#define RPMBUILD_RMSOURCE   (1 << 7)
#define RPMBUILD_TEST       (1 << 8)

#endif _BUILD_H_