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:
Florian Festi 2016-01-28 11:27:18 +01:00
parent 332143c388
commit b7da675972
1 changed files with 2 additions and 5 deletions

View File

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