diff options
author | Jindrich Novy <jnovy@redhat.com> | 2008-11-10 15:52:29 +0100 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2008-11-10 15:52:29 +0100 |
commit | d535818f425ae7ef0fd53203a18751cb19367e1c (patch) | |
tree | a29cffe4dc60aecdf4ec967925f2f888fd6ec7d5 /build/rpmbuild.h | |
parent | 34cda292e3523d3ca2d5fee7c71cce813f886357 (diff) | |
download | rpm-d535818f425ae7ef0fd53203a18751cb19367e1c.tar.gz rpm-d535818f425ae7ef0fd53203a18751cb19367e1c.tar.bz2 rpm-d535818f425ae7ef0fd53203a18751cb19367e1c.zip |
Add the post-build package checker feature in rpmbuild (upstream ticket #2)
- allow to run helper programs to check:
- generated SRPM
- each generated RPM after it is successfully written
- whole successfully written binary package set
- it is possible to use it for sanity checks
Diffstat (limited to 'build/rpmbuild.h')
-rw-r--r-- | build/rpmbuild.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h index df06bef7f..0ba3c7e05 100644 --- a/build/rpmbuild.h +++ b/build/rpmbuild.h @@ -395,6 +395,13 @@ int parseSpec(rpmts ts, const char * specFile, rpmRC buildSpec(rpmts ts, rpmSpec spec, int what, int test); /** \ingroup rpmbuild + * Check package(s). + * @param pkgcheck program to run + * @return RPMRC_OK on success + */ +rpmRC checkPackages(char *pkgcheck); + +/** \ingroup rpmbuild * Generate binary package(s). * @param spec spec file control structure * @return RPMRC_OK on success |