517a717 Use ExclusiveArch: %{kernel_arches}

Authored and Committed by tdawson 3 years ago
    Use ExclusiveArch: %{kernel_arches}
    
    kernel_arches is a new rpm macro variable that is now in the Fedora buildroot as of redhat-rpm-config-167.

    It lists what architectures the full kernel is built on.

    Architectures that only have the kernel-header (such as i686) is not listed.

    Thus, it can be used as a variable so that packages that depend on the kernel, can have a consistent way of listing the architectures.

    The variable is currently only in Fedora, but is expected to be in RHEL9, and hopefully backported to earlier RHEL versions.

    

    This pull request updates the spec to use %{kernel_arches} for ExclusiveArch:
        
file modified
+5 -6