Bug 866063

Summary: fontconfig depends on either expat and libxml2
Product: [Fedora] Fedora Reporter: Nicola Fontana <ntd>
Component: mingw-fontconfigAssignee: Richard W.M. Jones <rjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: erik-fedora, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-14 15:12:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for dropping libxml2 dependency none

Description Nicola Fontana 2012-10-13 15:37:38 UTC
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.

Comment 1 Erik van Pienbroek 2012-10-13 16:26:22 UTC
Hi,

The current mingw32-fontconfig/mingw64-fontconfig packages only depend on expat and not on libxml2:

$ rpm --query --requires mingw32-fontconfig
mingw32(kernel32.dll)
mingw32(libexpat-1.dll)
mingw32(libfontconfig-1.dll)
mingw32(libfreetype-6.dll)
mingw32(msvcrt.dll)
mingw32(user32.dll)
mingw32-crt
mingw32-filesystem >= 83
pkgconfig
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

Comment 2 Erik van Pienbroek 2012-10-14 15:12:07 UTC
Updated package built for rawhide