9 #include <rpm/rpmcli.h>
10 #include <rpm/rpmds.h>
11 #include <rpm/rpmspec.h>
57 #define RPMRC_MISSINGBUILDREQUIRES 11
84 const char *buildRoot);
rpmBuildFlags_e
Bit(s) to control rpmSpecBuild() operation.
rpmSpec rpmSpecParse(const char *specFile, rpmSpecFlags flags, const char *buildRoot)
Parse spec file into spec control structure.
rpmBuildPkgFlags_e
Bit(s) to control package generation.
int rpmSpecBuild(rpmts ts, rpmSpec spec, BTA_t buildArgs)
Spec build stages state machine driver.
Header rpmSpecSourceHeader(rpmSpec spec)
Return the headers of the SRPM that would be built from the spec file.
rpmps rpmSpecCheckDeps(rpmts ts, rpmSpec spec)
Verify build depencies of a spec against.
struct rpmBuildArguments_s * BTA_t
rpmds rpmSpecDS(rpmSpec spec, rpmTagVal tag)
Retrieve build dependency set from spec.
@ RPMBUILD_DUMPBUILDREQUIRES
@ RPMBUILD_CHECKBUILDREQUIRES
@ RPMBUILD_PKG_NODIRTOKENS
struct rpmts_s * rpmts
The main types involved in transaction manipulation.
struct headerToken_s * Header
RPM header and data retrieval types.
rpmFlags rpmBuildPkgFlags
struct rpmSpec_s * rpmSpec
rpmBuildPkgFlags pkgFlags
rpmBuildFlags buildAmount