Description of problem: automake 1.4 is everytime marked as a requirement even it isn't needed (so automake is only used at s390 systems for disabling some documentation). Version-Release number of selected component (if applicable): fontconfig-2.2.1-10 How reproducible & Steps to Reproduce: Everytime, rebuild fontconfig on a non-s390 system and you see, that automake isn't used and also shouldn't be marked as a requirement. I personally use the patch below, which works for me. Actual results: --- fontconfig.spec 2004-04-19 18:03:52.000000000 +0200 +++ fontconfig.spec.rsc 2004-04-29 13:18:02.000000000 +0200 @@ -39,8 +39,9 @@ BuildRequires: expat-devel BuildRequires: perl # For nodocs patch +%if %{disable_docs} BuildRequires: /usr/bin/automake-1.4 - +%endif PreReq: freetype >= %{freetype_version} %description Expected results: A solution like mine or better ;-)
I don't think a conditionalized dependency on architecture makes sense, so I'm not going to fix this. (Though I'm going to try removing the disabling of docs on s390 in the next build which would make this irrelevant.)