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:
67943e0
)
make --clean work with no %setup
author
marc
<devnull@localhost>
Wed, 8 Apr 1998 14:22:41 +0000
(14:22 +0000)
committer
marc
<devnull@localhost>
Wed, 8 Apr 1998 14:22:41 +0000
(14:22 +0000)
CVS patchset: 2074
CVS date: 1998/04/08 14:22:41
CHANGES
patch
|
blob
|
history
build/build.c
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index
0512956
..
5d25598
100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-1,3
+1,6
@@
+2.4.107 -> 2.4.108:
+ - make --clean work with no %setup
+
2.4.106 -> 2.4.107:
- --nomd5 wasn't handled properly
- updated configure.in find-req and find-prov checks (Tim Mooney)
diff --git
a/build/build.c
b/build/build.c
index
9a8c705
..
3285401
100644
(file)
--- a/
build/build.c
+++ b/
build/build.c
@@
-155,7
+155,9
@@
int doScript(Spec spec, int what, char *name, StringBuf sb, int test)
}
}
if (what == RPMBUILD_RMBUILD) {
- fprintf(f, "rm -rf %s\n", spec->buildSubdir);
+ if (spec->buildSubdir) {
+ fprintf(f, "rm -rf %s\n", spec->buildSubdir);
+ }
} else {
fprintf(f, "%s", getStringBuf(sb));
}