diff -Naurp --exclude-from excludes old/policycoreutils/semodule/semodule.c new/policycoreutils/semodule/semodule.c --- old/policycoreutils/semodule/semodule.c 2005-11-29 10:55:01.000000000 -0500 +++ new/policycoreutils/semodule/semodule.c 2005-12-23 19:51:39.000000000 -0500 @@ -334,13 +334,13 @@ int main(int argc, char *argv[]) { } if (commit) { - if (verbose) { - printf("Committing changes:\n"); - } - if (no_reload) { + if (verbose) + printf("Committing changes:\n"); + if (no_reload) semanage_set_reload(sh, 0); - } - result = semanage_commit(sh); + if (build) + semanage_set_rebuild(sh, 1); + result = semanage_commit(sh); } if (result < 0) {