Skip to content

Handle Extras packages which require SRPM macros not in RHEL #404

@yselkowitz

Description

@yselkowitz

ELN redhat-rpm-config only requires those independent SRPM macros packages which are intended for RHEL, which is a subset of those in Fedora. However, that means that Extras packages which require these SRPM macros fail to build early (in buildSRPMFromSCM) because the necessary macros are not present in the default buildroot.

EPEL works around this by adding epel-rpm-macros to its default buildroot and have it require any *-srpm-macros packages needed therein. While we can't define epel in the ELN buildroot, we probably need something similar that does at least this much. Presumably there shouldn't be any packages which need a *-srpm-macros at that stage that doesn't also BuildRequires the corresponding *-rpm-macros, or is there some corner case where (if we do this) a package might be fine in ELN but then fail in RHEL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    extrasRelated to ELN Extras (EPEL and other repos outside of RHEL)

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions