Backport java_arches macro from Fedora

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.

https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
epel9
Carl George 3 years ago
parent db0166460a
commit e19afa3b2e

@ -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 @@ install -Dpm 644 %{SOURCE1} \
%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`

@ -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

Loading…
Cancel
Save