diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-02 14:25:30 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-02 14:28:17 +0300 |
commit | bbe310aaf8c97ef3534d827f2a996c7feec7ce47 (patch) | |
tree | d5c665871d3b78f2604351c8f61f1af5de6300cf /build/rpmbuild.h | |
parent | 56bb5c89ef61c17e78fdb28e100aee52d49b98d5 (diff) | |
download | rpm-bbe310aaf8c97ef3534d827f2a996c7feec7ce47.tar.gz rpm-bbe310aaf8c97ef3534d827f2a996c7feec7ce47.tar.bz2 rpm-bbe310aaf8c97ef3534d827f2a996c7feec7ce47.zip |
Add a new public function for retrieving build dependencies from spec
- Not needed by rpmbuild itself currently, but permits retrieving the
build dependency information in a format that's better suited for
further processing than an rpm problem set.
Diffstat (limited to 'build/rpmbuild.h')
-rw-r--r-- | build/rpmbuild.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h index f63283b05..78981a902 100644 --- a/build/rpmbuild.h +++ b/build/rpmbuild.h @@ -79,6 +79,14 @@ rpmSpec rpmSpecParse(const char *specFile, rpmSpecFlags flags, rpmps rpmSpecCheckDeps(rpmts ts, rpmSpec spec); /** \ingroup rpmbuild + * Retrieve build dependency set from spec. + * @param spec parsed spec control structure + * @param tag dependency tag + * @return dependency set of tag (or NULL) + */ +rpmds rpmSpecDS(rpmSpec spec, rpmTag tag); + +/** \ingroup rpmbuild * Build stages state machine driver. * @param buildArgs build arguments * @param spec spec file control structure |