#45 Backport java_arches macro from Fedora
Merged 2 years ago by carlwgeorge. Opened 2 years ago by carlwgeorge.
rpms/ carlwgeorge/epel-rpm-macros epel9-java-arches  into  epel9

file modified
+4 -1
@@ -1,6 +1,6 @@ 

  Name:           epel-rpm-macros

  Version:        9

- Release:        4%{dist}

+ Release:        5%{dist}

  Summary:        Extra Packages for Enterprise Linux RPM macros

  

  License:        GPLv2
@@ -51,6 +51,9 @@ 

  

  

  %changelog

+ * Fri May 27 2022 Carl George <carl@george.computer> - 9-5

+ - Backport java_arches macro from Fedora

+ 

  * Tue May 17 2022 Maxwell G <gotmax@e.email> - 9-4

  - Add `Requires: ansible-srpm-macros`

  

file modified
+3
@@ -4,3 +4,6 @@ 

  

  # Bash completions; not in bash to not intefere with install ordering

  %bash_completion_dir /usr/share/bash-completion/completions/

+ 

+ # Arches that OpenJDK and dependent packages run on

+ %java_arches aarch64 ppc64le s390x x86_64

Fedora java packages now make use of a java_arches macro to only build on specific arches. Backport this to EPEL to allow those packages to be built in EPEL without modification.

Build succeeded.

This looks good to me, besides the fact that it forces me to rebase my PR :(. On that note, this package might be a good candidate for a conversion to rpmautospec.

Pull-Request has been merged by carlwgeorge

2 years ago