#1010 Makefile.common fails to handle noarch subpackages
Closed: Fixed None Opened 15 years ago by atkac.

rawhide rpm has nice feature - building subpackages as noarch. But Makefile.common in CVS breaks it because if specfile contains "BuildArch: noarch" whole package is treated as noarch.

Main problem is in line

LOCALARCH := $(if $(shell grep -i '^BuildArch:.*noarch' $(SPECFILE)), noarch, $(shell uname -m))

It is clear that this solution can't work if you want to build noarch subpackage and the other packages will be arch dependent.


you can not use that feature of RPM in Fedora. koji does not handle the situation at all. it is on the schedule to be added. When koji supports noarch subpackages makefile.common will also. until then its completely unsupported.

Login to comment on this ticket.

Metadata