Re: Noarch subpackages: Upcoming Feature Freeze

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 Feb 2009 13:15:09 +0100
Florian Festi <ffesti@xxxxxxxxxx> wrote:

> Please add the packages you changed or plan to change to
> https://fedoraproject.org/wiki/Features/NoarchSubpackages/PackagesChanged
> Put the later in parenthesis. That way it will be easier to justify a 
> release note entry and to argue that the Feature is (at least a bit)
> finished.

I gather (there appears to be not much documentation showing how to
actually make use of the noarch subpackage feature in a package) that
one is just supposed to add a "BuildArch: noarch" line to the
respective %package declaration in the spec file.

However, common/Makefile.common contains the following lines

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

local: $(LOCALARCH)

$(ARCHES) : sources $(TARGETS)
        $(RPM_WITH_DIRS) --target $@ -ba $(SPECFILE) 2>&1 | tee .build-$(VERSION)-$(RELEASE).log ; exit $${PIPESTATUS[0]}

This causes "make local" to build the whole package as noarch
(including the supposed-to-be-arch-specific main and other
subpackages) and not just the respective noarch subpackage, AFAICT.

Or am I missing something here?

-- 
Hans Ulrich Niedermann

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux