SHA256
6
0
forked from pool/rpm

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:
2011-05-16 16:07:44 +00:00
committed by Git OBS Bridge
parent 5d8f14209e
commit cebe6dd1a8
87 changed files with 1633 additions and 2481 deletions

View File

@@ -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;