This used to be the taggedfileindex patch, but it's gone. The remaining part just strips off the tag. --- ./lib/rpmdb.c.orig 2011-05-11 14:27:32.000000000 +0000 +++ ./lib/rpmdb.c 2011-05-11 15:14:39.000000000 +0000 @@ -257,6 +257,9 @@ static int dbt2set(dbiIndex dbi, DBT * d _DBSWAP(hdrNum); _DBSWAP(tagNum); } + /* remove tagged directory info */ + if (tagNum.ui & 0x80000000) + tagNum.ui &= 0x0000ffff; set->recs[i].hdrNum = hdrNum.ui; set->recs[i].tagNum = tagNum.ui; }