Add the various spec + build flags to python

This commit is contained in:
Panu Matilainen 2010-09-02 14:51:51 +03:00
parent 384362737f
commit 4a374712c7
1 changed files with 21 additions and 0 deletions

View File

@ -31,6 +31,27 @@ static int initModule(PyObject *m)
REGISTER_ENUM(RPMBUILD_ISICON);
REGISTER_ENUM(RPMBUILD_ISNO);
REGISTER_ENUM(RPMBUILD_NONE);
REGISTER_ENUM(RPMBUILD_PREP);
REGISTER_ENUM(RPMBUILD_BUILD);
REGISTER_ENUM(RPMBUILD_INSTALL);
REGISTER_ENUM(RPMBUILD_CHECK);
REGISTER_ENUM(RPMBUILD_CLEAN);
REGISTER_ENUM(RPMBUILD_FILECHECK);
REGISTER_ENUM(RPMBUILD_PACKAGESOURCE);
REGISTER_ENUM(RPMBUILD_PACKAGEBINARY);
REGISTER_ENUM(RPMBUILD_RMSOURCE);
REGISTER_ENUM(RPMBUILD_RMBUILD);
REGISTER_ENUM(RPMBUILD_RMSPEC);
REGISTER_ENUM(RPMBUILD_PKG_NONE);
REGISTER_ENUM(RPMBUILD_PKG_NODIRTOKENS);
REGISTER_ENUM(RPMSPEC_NONE);
REGISTER_ENUM(RPMSPEC_ANYARCH);
REGISTER_ENUM(RPMSPEC_FORCE);
REGISTER_ENUM(RPMSPEC_NOLANG);
return 1;
}