Set ExclusiveArch on any OS with java_arches
This change allows downstream distros such as CentOS Stream/RHEL 9 to re-use this spec file without having to patch out the undefined java_arches macro.
This commit is contained in:
parent
788c04c49c
commit
8e6d0ee105
@ -8,7 +8,9 @@ Summary: Jakarta Activation API
|
||||
License: EPL-2.0 or BSD or GPLv2 with exceptions
|
||||
URL: https://jakartaee.github.io/jaf-api/
|
||||
BuildArch: noarch
|
||||
%if 0%{?java_arches:1}
|
||||
ExclusiveArch: %{java_arches} noarch
|
||||
%endif
|
||||
|
||||
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user