update to rpm-4.9.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=93
This commit is contained in:
28
files.diff
28
files.diff
@@ -1,13 +1,17 @@
|
||||
Index: build/files.c
|
||||
===================================================================
|
||||
--- build/files.c.orig
|
||||
+++ build/files.c
|
||||
@@ -2211,6 +2211,8 @@ static int checkFiles(StringBuf fileList
|
||||
_("Installed (but unpackaged) file(s) found:\n%s"), t);
|
||||
}
|
||||
}
|
||||
+ else
|
||||
+ checkFiles(check_fileList);
|
||||
Print "unpackaged files" section even if there was an error
|
||||
in the filelist.
|
||||
|
||||
--- ./build/files.c.orig 2011-05-11 15:27:11.000000000 +0000
|
||||
+++ ./build/files.c 2011-05-11 15:29:12.000000000 +0000
|
||||
@@ -2149,10 +2149,10 @@ rpmRC processBinaryFiles(rpmSpec spec, r
|
||||
*/
|
||||
|
||||
exit:
|
||||
sb_stdout = freeStringBuf(sb_stdout);
|
||||
|
||||
+exit:
|
||||
if (checkFiles(spec->buildRoot, check_fileList) > 0) {
|
||||
rc = RPMRC_FAIL;
|
||||
}
|
||||
-exit:
|
||||
check_fileList = freeStringBuf(check_fileList);
|
||||
|
||||
return rc;
|
||||
|
Reference in New Issue
Block a user