#4 Set ExclusiveArch on any OS with java_arches
Merged 11 months ago by mkoncek. Opened 11 months ago by ckelley.
rpms/ ckelley/jaxb-api java-arches  into  rawhide

file modified
+2
@@ -5,7 +5,9 @@ 

  License:        BSD-3-Clause

  URL:            https://github.com/eclipse-ee4j/jaxb-api

  BuildArch:      noarch

+ %if 0%{?java_arches:1}

  ExclusiveArch:  %{java_arches} noarch

+ %endif

  

  Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz

  

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.

Looks good, good idea about .spec compatibility.

Pull-Request has been merged by mkoncek

11 months ago
Metadata