diff options
author | David Greaves <david@dgreaves.com> | 2015-05-26 12:31:51 +0200 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2015-07-23 17:21:19 +0200 |
commit | 4f69f8b482e1bd61d5a7e1c8214e2ebc6cb66c5d (patch) | |
tree | b9de067aa8fe1d6f8668a0443196f6f2dfd27fb5 /rpmbuild.c | |
parent | ee5deb26c56a40d1dca39ea735230cb0a6beeb19 (diff) | |
download | rpm-4f69f8b482e1bd61d5a7e1c8214e2ebc6cb66c5d.tar.gz |
rpmbuild: Add "--noprep" to not execute %prep stage
Diffstat (limited to 'rpmbuild.c')
-rw-r--r-- | rpmbuild.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmbuild.c b/rpmbuild.c index 79b5131d2..bf0783160 100644 --- a/rpmbuild.c +++ b/rpmbuild.c @@ -221,6 +221,8 @@ static struct poptOption rpmBuildPoptTable[] = { { "noclean", '\0', POPT_BIT_SET, &nobuildAmount, RPMBUILD_CLEAN, N_("do not execute %clean stage of the build"), NULL }, + { "noprep", '\0', POPT_BIT_SET, &nobuildAmount, RPMBUILD_PREP, + N_("do not execute %prep stage of the build"), NULL }, { "nocheck", '\0', POPT_BIT_SET, &nobuildAmount, RPMBUILD_CHECK, N_("do not execute %check stage of the build"), NULL }, |