diff -r 019a53b65271 -r 53e1185e2366 src/main.c --- a/src/main.c Tue Jul 08 22:57:34 2008 -0400 +++ b/src/main.c Tue Jan 06 14:06:00 2009 +0000 @@ -431,6 +431,7 @@ return 0; } +#if HAVE_RPMLIB static int command_import_rpmdb(int argc, const char *argv[]) { @@ -449,6 +450,7 @@ return razor_root_commit(root); } +#endif static int mark_packages_for_update(struct razor_transaction *trans, @@ -1001,7 +1003,9 @@ { "what-requires", "list the packages that have the given requires", command_what_requires }, { "what-provides", "list the packages that have the given provides", command_what_provides }, { "import-yum", "import yum metadata files", command_import_yum }, +#if HAVE_RPMLIB { "import-rpmdb", "import the system rpm database", command_import_rpmdb }, +#endif { "import-rpms", "import rpms from the given directory", command_import_rpms }, { "update", "update all or specified packages", command_update }, { "remove", "remove specified packages", command_remove },