"python" },
{ "^%{_bindir}/python[[:digit:]]\\.[[:digit:]]$",
"python" },
+ { "^%{_datadir}/.*/.*\\.desktop$",
+ "desktop" },
{ NULL, NULL },
};
if (hasAttr(fattrs, "font")) {
what = "font";
- } else if (hasAttr(fattrs, "text") && rpmFileHasSuffix(fn, ".desktop")) {
+ } else if (hasAttr(fattrs, "desktop")) {
what = "desktop";
}
{ rpmfcELF, "elf" },
{ rpmfcSCRIPT, "script" },
{ rpmfcLANG, "perl,python,mono,ocaml,pkgconfig,libtool" },
- { rpmfcMISC, "font,text" },
+ { rpmfcMISC, "font,desktop" },
{ NULL, 0 }
};