From 42b3f9289ae0764e3737eb380e620d3028dc6ce3 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 18 May 2022 23:35:20 -0500 Subject: [PATCH] Add java_arches macro Backport the java_arches macro from rawhide. --- macros.java-srpm | 2 ++ redhat-rpm-config.spec | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 macros.java-srpm diff --git a/macros.java-srpm b/macros.java-srpm new file mode 100644 index 0000000..c17974d --- /dev/null +++ b/macros.java-srpm @@ -0,0 +1,2 @@ +# Arches that OpenJDK and dependent packages run on +%java_arches aarch64 ppc64le s390x x86_64 %{arm} %{ix86} diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 444fdb9..ebed2ba 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 218 +Version: 219 Release: 1%{?dist} # No version specified. License: GPL+ @@ -37,6 +37,7 @@ Source102: macros.mono-srpm Source103: macros.nodejs-srpm Source104: macros.ldc-srpm Source105: macros.valgrind-srpm +Source106: macros.java-srpm # Other misc macros Source150: macros.build-constraints @@ -216,6 +217,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Wed May 18 2022 Jason L Tibbitts III - 219-1 +- Add java_arches macro. + * Tue May 17 2022 Maxwell G - 218-1 - Add `Requires: ansible-srpm-macros`