python: backport forceArray changes from rpm5.
This commit is contained in:
parent
909e4fd5f2
commit
d6701e921f
@ -543,9 +543,23 @@ static PyObject * hdrSubscript(hdrObject * s, PyObject * item) {
|
||||
case RPMTAG_FILEMD5S:
|
||||
case RPMTAG_FILELINKTOS:
|
||||
case RPMTAG_FILEFLAGS:
|
||||
case RPMTAG_ROOT:
|
||||
case RPMTAG_FILEUSERNAME:
|
||||
case RPMTAG_FILEGROUPNAME:
|
||||
case RPMTAG_REQUIRENAME:
|
||||
case RPMTAG_REQUIREFLAGS:
|
||||
case RPMTAG_REQUIREVERSION:
|
||||
case RPMTAG_PROVIDENAME:
|
||||
case RPMTAG_PROVIDEFLAGS:
|
||||
case RPMTAG_PROVIDEVERSION:
|
||||
case RPMTAG_OBSOLETENAME:
|
||||
case RPMTAG_OBSOLETEFLAGS:
|
||||
case RPMTAG_OBSOLETEVERSION:
|
||||
case RPMTAG_CONFLICTNAME:
|
||||
case RPMTAG_CONFLICTFLAGS:
|
||||
case RPMTAG_CONFLICTVERSION:
|
||||
case RPMTAG_CHANGELOGTIME:
|
||||
case RPMTAG_FILEVERIFYFLAGS:
|
||||
forceArray = 1;
|
||||
break;
|
||||
case RPMTAG_SUMMARY:
|
||||
|
Loading…
Reference in New Issue
Block a user