diff options
author | root <devnull@localhost> | 1996-05-17 18:37:46 +0000 |
---|---|---|
committer | root <devnull@localhost> | 1996-05-17 18:37:46 +0000 |
commit | 647d0794e12a7034560e78564099413fbee1e5a0 (patch) | |
tree | aa94d39a9cdf4379468110a3258180fb9ac71d23 /rpm.c | |
parent | f28f51fc0258328844e7ccd50b407522e7bab442 (diff) | |
download | rpm-647d0794e12a7034560e78564099413fbee1e5a0.tar.gz rpm-647d0794e12a7034560e78564099413fbee1e5a0.tar.bz2 rpm-647d0794e12a7034560e78564099413fbee1e5a0.zip |
call verifySpec()
CVS patchset: 574
CVS date: 1996/05/17 18:37:46
Diffstat (limited to 'rpm.c')
-rwxr-xr-x | rpm.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -184,9 +184,13 @@ int build(char * arg, int buildAmount, char *passPhrase) { s = parseSpec(f, specfile); fclose(f); if (s) { - if (doBuild(s, buildAmount, passPhrase)) { - fprintf(stderr, _("Build failed.\n")); + if (verifySpec(s)) { res = 1; + } else { + if (doBuild(s, buildAmount, passPhrase)) { + fprintf(stderr, _("Build failed.\n")); + res = 1; + } } freeSpec(s); } else { |