Updating link to change in openSUSE:Factory/rpm revision 86.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=15e4b56637cb8eb79bcd6c523613409f
This commit is contained in:
OBS User buildservice-autocommit
2009-09-02 16:05:59 +00:00
committed by Git OBS Bridge
parent 85ca1ae15a
commit a3e525c3c8
7 changed files with 103 additions and 3 deletions

21
fixabsfilelists.diff Normal file
View File

@@ -0,0 +1,21 @@
Index: build/files.c
===================================================================
--- build/files.c.orig
+++ build/files.c
@@ -1742,9 +1742,13 @@ static rpmRC processPackageFiles(rpmSpec
argvSplit(&filelists, getStringBuf(pkg->fileFile), "\n");
for (fp = filelists; *fp != NULL; fp++) {
- ffn = rpmGetPath("%{_builddir}/",
- (spec->buildSubdir ? spec->buildSubdir : "") ,
- "/", *fp, NULL);
+ if (**fp == '/') {
+ ffn = rpmGetPath(*fp, NULL);
+ } else {
+ ffn = rpmGetPath("%{_builddir}/",
+ (spec->buildSubdir ? spec->buildSubdir : "") ,
+ "/", *fp, NULL);
+ }
fd = fopen(ffn, "r");
if (fd == NULL || ferror(fd)) {