Revert "Fix check for file capabilities"
This reverts commit 4ee5652126
.
This is no longer needed as the regular check now handles string arrays properly
This commit is contained in:
parent
332143c388
commit
b7da675972
|
@ -1460,11 +1460,8 @@ static int rpmfilesPopulate(rpmfiles fi, Header h, rpmfiFlags flags)
|
|||
if (!(flags & RPMFI_NOFILESTATES))
|
||||
_hgfi(h, RPMTAG_FILESTATES, &td, defFlags, fi->fstates);
|
||||
|
||||
if (!(flags & RPMFI_NOFILECAPS)) {
|
||||
_hgfinc(h, RPMTAG_FILECAPS, &td, defFlags, fi->fcaps);
|
||||
if (td.count && td.count != totalfc)
|
||||
goto err;
|
||||
}
|
||||
if (!(flags & RPMFI_NOFILECAPS))
|
||||
_hgfi(h, RPMTAG_FILECAPS, &td, defFlags, fi->fcaps);
|
||||
|
||||
if (!(flags & RPMFI_NOFILELINKTOS))
|
||||
fi->flinks = tag2pool(fi->pool, h, RPMTAG_FILELINKTOS, totalfc);
|
||||
|
|
Loading…
Reference in New Issue