summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authormarc <devnull@localhost>1996-07-23 03:33:20 +0000
committermarc <devnull@localhost>1996-07-23 03:33:20 +0000
commit7e46ec48ecbff19e794770fb200d6c2c647f51eb (patch)
treeae90cddd52b231e76e909aa444942b43337d4f8d /build
parentff49802b59137de912bdbd2fa551bf24c0732952 (diff)
downloadrpm-7e46ec48ecbff19e794770fb200d6c2c647f51eb.tar.gz
rpm-7e46ec48ecbff19e794770fb200d6c2c647f51eb.tar.bz2
rpm-7e46ec48ecbff19e794770fb200d6c2c647f51eb.zip
parse %prep even for list check
CVS patchset: 920 CVS date: 1996/07/23 03:33:20
Diffstat (limited to 'build')
-rw-r--r--build/build.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/build.c b/build/build.c
index 7feb0a893..19c41648f 100644
--- a/build/build.c
+++ b/build/build.c
@@ -646,14 +646,14 @@ int doBuild(Spec s, int flags, char *passPhrase)
strcpy(build_subdir, ".");
- if (flags & RPMBUILD_LIST)
- return verifyList(s);
-
/* We always need to parse the %prep section */
if (execPrep(s, (flags & RPMBUILD_PREP))) {
return 1;
}
+ if (flags & RPMBUILD_LIST)
+ return verifyList(s);
+
if (flags & RPMBUILD_BUILD) {
if (execBuild(s)) {
return 1;