Red Hat Bugzilla – Bug 866063
fontconfig depends on either expat and libxml2
Last modified: 2012-10-14 11:12:07 EDT
Created attachment 626578 [details]
Patch for dropping libxml2 dependency
expat and libxml2 dependencies are mutually exclusives in fontconfig but the actual package depends on both. The mainstream spec (fontconfig.spec) depends only on expat (expat-devel) and I think the same should be for this one.
Attached the (untested) patch to depend only on expat: fill free to ignore it if it does not follow your guidelines.
The current mingw32-fontconfig/mingw64-fontconfig packages only depend on expat and not on libxml2:
$ rpm --query --requires mingw32-fontconfig
mingw32-filesystem >= 83
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
The additional BR for libxml2 in the mingw-fontconfig therefore isn't used during the build and can be removed safely. I'll commit your patch to rawhide, but I won't push updated packages to Fedora 17/18 as the end result remains the same: fontconfig only depends on expat
Updated package built for rawhide