Stephen Gallagher <sgallagh(a)redhat.com> wrote:
On 09/21/2016 11:32 AM, Pavel Raiskup wrote:
> On Wednesday, September 21, 2016 12:16:39 PM CEST buildsys(a)fedoraproject.org wrote:
>> vim-syntastic has broken dependencies in the rawhide tree:
>> On aarch64:
>> vim-syntastic-lisp-3.7.0-6.fc26.noarch requires clisp
>> On aarch64:
>> vim-syntastic-cs-3.7.0-6.fc26.noarch requires mono-core
>> On aarch64:
>> vim-syntastic-d-3.7.0-6.fc26.noarch requires ldc
>> On armhfp:
>> vim-syntastic-d-3.7.0-6.fc26.noarch requires ldc
>> Please resolve this as soon as possible.
>
> What's should packager do in such case? Recap: noarch package depends on
> arch-dependant package, which is not available everywhere.
That's what the ExclusiveArch directive in RPM is for.
I have found that when using ExclusiveArch in a noarch package you need
to include "noarch" in addition to the architectures where the
dependencies are available. Otherwise the build won't work.
Björn Persson