From f8b207df3be5c6de96864d25514d22e136b1fe87 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 10 May 2022 21:17:11 +0200 Subject: [PATCH] Add java_arches macro See https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs --- 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..a32a7fd --- /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 diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index c6676bd..cbb2850 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 @@ -215,6 +216,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Tue May 10 2022 Mikolaj Izdebski - 219-1 +- Add java_arches macro + * Wed Apr 20 2022 Timm Bäder - 218-1 - Parallelize bpr-llvm-compile-lto-elf