-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove build tree automatically on successfull binary package creation
Traditionally rpmbuild has only cleaned up the build directory on --rebuild mode, but by default leaving tonnes of digital waste behind in the far more common -bb mode. Default to cleaning up build directory in addition to buildroot on successfull binary package creation, with the exception of short-circuit'ed builds. To go with this, have --noclean affect the build directory removal too. Change the diagnostics message from "--clean" to "rmbuild" because --clean is just misleading as it can get executed by other means too.
- Loading branch information
Showing
4 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters