Skip to content

What does ExclusiveArch and ExcludeArch do for sub-packages? #43

@FrostyX

Description

@FrostyX

I recently worked on a feature for Copr where we wanted to skip builds on architectures based on ExclusiveArch and ExcludeArch.

The descriptions of those macros tags are quite clear.
https://rpm-software-management.github.io/rpm/manual/tags.html

Tag Name Value Type Description
Excludearch 1059 string array If present, limits the architectures on which the package is buildable by excluding those specified.
Exclusivearch 1061 string array If present, limits the architectures on which the package is buildable exclusively to those specified.

However, I was surprised that those macros tags can be used not only for packages but also for sub-packages. For example procyon or binutils does this.

Can you please document that these macros tags (or possibly some other surprising ones) can be used for sub-packages as well and what does it mean when they are used for sub-packages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions