I have dunno.spec
file with the following structure:
Name: dunno
Version: 1.0
...
BuildArch: x86_64
%description
...
%package common
Summary: Shared files
BuildArch: noarch
I suppose that after I run rpmbuild -ba dunno.spec
I should get two binary packages:
dunno-1.0.x86_64.rpm
dunno-common-1.0.noarch.rpm
however I get:
dunno-1.0.x86_64.rpm
dunno-common-1.0.x86_64.rpm
If I remove the line BuildArch: x86_64
from the spec, then I get
dunno-1.0.noarch.rpm
dunno-common-1.0.noarch.rpm
How to fix that?
RPM v4.4.2.3.