use RPMBUILD_SWEEP
authormarc <devnull@localhost>
Mon, 29 Jan 1996 19:14:31 +0000 (19:14 +0000)
committermarc <devnull@localhost>
Mon, 29 Jan 1996 19:14:31 +0000 (19:14 +0000)
CVS patchset: 230
CVS date: 1996/01/29 19:14:31

rpm.c

diff --git a/rpm.c b/rpm.c
index b47648a..f324366 100755 (executable)
--- a/rpm.c
+++ b/rpm.c
@@ -414,7 +414,7 @@ int main(int argc, char ** argv) {
 
       case MODE_BUILD:
        if (clean)
-           buildAmount |= RPMBUILD_CLEAN;
+           buildAmount |= RPMBUILD_SWEEP;
 
        if (optind == argc) 
            argerror("no spec files given for build");