summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-02 14:51:51 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-02 14:51:51 +0300
commit4a374712c7d07143d30d1772657a476b3cfa5a75 (patch)
tree674e80e643bf83acc9d1eb0006202da32cbf34c8 /python
parent384362737f0939c14c7b6c08059caf9c1be31a99 (diff)
downloadlibrpm-tizen-4a374712c7d07143d30d1772657a476b3cfa5a75.tar.gz
librpm-tizen-4a374712c7d07143d30d1772657a476b3cfa5a75.tar.bz2
librpm-tizen-4a374712c7d07143d30d1772657a476b3cfa5a75.zip
Add the various spec + build flags to python
Diffstat (limited to 'python')
-rw-r--r--python/rpmbmodule.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/python/rpmbmodule.c b/python/rpmbmodule.c
index 5668a1a03..a6a35d82f 100644
--- a/python/rpmbmodule.c
+++ b/python/rpmbmodule.c
@@ -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;
}