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.
noarch
-doc
package in it. This seems to be the first tagged version of the Fedora specfile that has that. So somewhere between the CentOS 5 4.4.2.3 and whatever F18 has. Which looks like 4.10.3.1. But that's a huge range and it might have been anywhere in there. – Formationglib2
package has several flavours in repo. Hopefully this feature was not introduced by a patch (there are more then 10, but all seem to be unrelated). It seems that the only solution for v4.4 is to runrmpbuild
twice. – Micamicaela