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
epel8
Iñaki Úcar 2 years ago
parent 73454ac54c
commit 5aa786f208

@ -1,6 +1,6 @@
Name: epel-rpm-macros Name: epel-rpm-macros
Version: 8 Version: 8
Release: 32 Release: 33
Summary: Extra Packages for Enterprise Linux RPM macros Summary: Extra Packages for Enterprise Linux RPM macros
License: GPLv2 License: GPLv2
@ -112,6 +112,9 @@ install -Dpm 644 %{SOURCE150} \
%changelog %changelog
* Wed Aug 24 2022 Iñaki Úcar <iucar@fedoraproject.org> - 8-33
- Backport java_arches macro from Fedora
* Sat Jul 16 2022 Maxwell G <gotmax@e.email> - 8-32 * Sat Jul 16 2022 Maxwell G <gotmax@e.email> - 8-32
- Explicitly Require python3-rpm-generators - Explicitly Require python3-rpm-generators
- Remove %%__pythondist_provides from pythondist.attr. - Remove %%__pythondist_provides from pythondist.attr.

@ -111,3 +111,6 @@
# qt5 macro removed from RHEL8 but needed to ensure qtwebengine, and # qt5 macro removed from RHEL8 but needed to ensure qtwebengine, and
# its dependencies build on supported arches. # its dependencies build on supported arches.
%qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el %qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el
# Arches that OpenJDK and dependent packages run on
%java_arches aarch64 ppc64le s390x x86_64

Loading…
Cancel
Save