projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f28f51f
)
call verifySpec()
author
root
<devnull@localhost>
Fri, 17 May 1996 18:37:46 +0000
(18:37 +0000)
committer
root
<devnull@localhost>
Fri, 17 May 1996 18:37:46 +0000
(18:37 +0000)
CVS patchset: 574
CVS date: 1996/05/17 18:37:46
rpm.c
patch
|
blob
|
history
diff --git
a/rpm.c
b/rpm.c
index
57f4bf8
..
d1c12ab
100755
(executable)
--- a/
rpm.c
+++ b/
rpm.c
@@
-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 {