projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b187977
)
Don't try to parse %patch on spec query (rhbz#487855)
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 18 Mar 2009 12:53:34 +0000
(14:53 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 18 Mar 2009 12:53:34 +0000
(14:53 +0200)
build/parsePrep.c
patch
|
blob
|
history
diff --git
a/build/parsePrep.c
b/build/parsePrep.c
index
9a919bd
..
e676908
100644
(file)
--- a/
build/parsePrep.c
+++ b/
build/parsePrep.c
@@
-73,11
+73,8
@@
static char *doPatch(rpmSpec spec, uint32_t c, int strip, const char *db,
fn = rpmGetPath("%{_sourcedir}/", sp->source, NULL);
- /*
- * FIXME: On non-build parse's, file cannot be stat'd or read but
- * %{uncompress} doesn't know that so we get errors on non-existent files.
- */
- if (!spec->force && checkOwners(fn)) {
+ /* On non-build parse's, file cannot be stat'd or read. */
+ if (spec->force || checkOwners(fn)) {
fn = _free(fn);
return NULL;
}