diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-02 10:23:57 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-02 10:23:57 +0300 |
commit | 36f0c779d6770f5b3c8bdc72a562a4f7880ed4b7 (patch) | |
tree | 9147be7123cfd66ecf275e71f891304a89f87859 /build/rpmbuild.h | |
parent | ea9a016c0eac7efb75f5f7de8b3525549e7abab5 (diff) | |
download | rpm-36f0c779d6770f5b3c8bdc72a562a4f7880ed4b7.tar.gz rpm-36f0c779d6770f5b3c8bdc72a562a4f7880ed4b7.tar.bz2 rpm-36f0c779d6770f5b3c8bdc72a562a4f7880ed4b7.zip |
Handle --nobuild as another buildAmount flag
Diffstat (limited to 'build/rpmbuild.h')
-rw-r--r-- | build/rpmbuild.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h index f03f875e5..b34e7a7d6 100644 --- a/build/rpmbuild.h +++ b/build/rpmbuild.h @@ -30,7 +30,9 @@ typedef enum rpmBuildFlags_e { RPMBUILD_RMSOURCE = (1 << 8), /*!< Remove source(s) and patch(s). */ RPMBUILD_RMBUILD = (1 << 9), /*!< Remove build sub-tree. */ RPMBUILD_STRINGBUF = (1 << 10), /*!< only for doScript() */ - RPMBUILD_RMSPEC = (1 << 11) /*!< Remove spec file. */ + RPMBUILD_RMSPEC = (1 << 11), /*!< Remove spec file. */ + + RPMBUILD_NOBUILD = (1 << 31) /*!< Don't execute or package. */ } rpmBuildFlags; /** \ingroup rpmbuild @@ -43,7 +45,6 @@ struct rpmBuildArguments_s { char * buildRootOverride; /*!< from --buildroot */ char * targets; /*!< Target platform(s), comma separated. */ char * cookie; /*!< NULL for binary, ??? for source, rpm's */ - int noBuild; /*!< from --nobuild */ int noDeps; /*!< from --nodeps */ int shortCircuit; /*!< from --short-circuit */ char buildMode; /*!< Build mode (one of "btBC") */ |