diff options
author | Jindrich Novy <jnovy@redhat.com> | 2009-04-10 11:27:49 +0200 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2009-04-10 11:27:49 +0200 |
commit | 07524b67b6cfe501bdae3df45c212b7c1c129da4 (patch) | |
tree | 2937ea211e86bf121e18d17ccfc7a07fce58ea6e /build | |
parent | 2566a70b0ac8f18fbcb2c1c060465714d16982a4 (diff) | |
download | rpm-07524b67b6cfe501bdae3df45c212b7c1c129da4.tar.gz rpm-07524b67b6cfe501bdae3df45c212b7c1c129da4.tar.bz2 rpm-07524b67b6cfe501bdae3df45c212b7c1c129da4.zip |
Don't require %ghost file presence in build root (rhbz#495040)
Diffstat (limited to 'build')
-rw-r--r-- | build/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c index d9c81511e..dd7ba6108 100644 --- a/build/files.c +++ b/build/files.c @@ -1375,7 +1375,7 @@ static rpmRC addFile(FileList fl, const char * diskPath, statp->st_atime = now; statp->st_mtime = now; statp->st_ctime = now; - } else if (lstat(diskPath, statp)) { + } else if (!(fl->currentFlags & RPMFILE_GHOST) && lstat(diskPath, statp)) { rpmlog(RPMLOG_ERR, _("File not found: %s\n"), diskPath); fl->processingFailed = 1; return RPMRC_FAIL; |