Hi,

I'm writing a spec file ([1]), the main package avogadro2-libs has no architecture-dependent files but the subpackage avogadro2-libs-devel does. How can I set BuildArch to noarch for the main package, but not for the devel package? I did the obvious thing of having BuildArch: noarch for the main package, but having no such line for the devel package but I get RPMLint error like:

Code:
[  156s] avogadro2-libs-devel.noarch: E: suse-filelist-forbidden-noarch (Badness: 10000) /usr/lib64/avogadro2/staticplugins/VanDerWaalsAO.a is not allowed in a noarch package
[  156s] avogadro2-libs-devel.noarch: E: suse-filelist-forbidden-noarch (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Wireframe.a is not allowed in a noarch package
[  156s] avogadro2-libs-devel.noarch: E: suse-filelist-forbidden-noarch (Badness: 10000) /usr/lib64/avogadro2/staticplugins/Workflows.a is not allowed in a noarch package
[  156s] avogadro2-libs-devel.noarch: E: suse-filelist-forbidden-noarch (Badness: 10000) /usr/lib64/avogadro2/staticplugins/apbs.a is not allowed in a noarch package
[  156s] avogadro2-libs-devel.noarch: E: suse-filelist-forbidden-noarch (Badness: 10000) /usr/lib64/liblibgwavi.a is not allowed in a noarch package
As far as I know BuildArch if specified can only be set to noarch, so I don't know how to set the main package as arch-independent but the devel subpackage as arch-dependent.

Thanks for your time,
Brenton