Files
poky/meta/recipes-devtools/rpm/rpm-4.11.2/remove-dir-check.patch
Saul Wold 58d9c4e4ba rpm: add version 4.11.2
add patch to remove db3 from configure.ac
add inherit pkgconfig

(From OE-Core rev: 9a17f938e738a16a1ef9a00be6a8317d71f92573)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-30 21:36:13 +01:00

24 lines
806 B
Diff

Upstream-Status: Pending
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ronan Le Martret <ronan.lemartret@open.eurogiciel.org>
Index: rpm-4.11.2/build/files.c
===================================================================
--- rpm-4.11.2.orig/build/files.c
+++ rpm-4.11.2/build/files.c
@@ -1321,12 +1321,6 @@ static rpmRC addFile(FileList fl, const
}
}
- /* Error out when a non-directory is specified as one in spec */
- if (fl->cur.isDir && (statp == &statbuf) && !S_ISDIR(statp->st_mode)) {
- rpmlog(RPMLOG_ERR, _("Not a directory: %s\n"), diskPath);
- goto exit;
- }
-
/* Don't recurse into explicit %dir, don't double-recurse from fts */
if ((fl->cur.isDir != 1) && (statp == &statbuf) && S_ISDIR(statp->st_mode)) {
return recurseDir(fl, diskPath);