Add java_arches macro

Backport the java_arches macro from rawhide.
This commit is contained in:
Jason Tibbitts 2022-05-18 23:35:20 -05:00 committed by Miro Hrončok
parent 846f376b64
commit 42b3f9289a
2 changed files with 7 additions and 1 deletions

2
macros.java-srpm Normal file
View File

@ -0,0 +1,2 @@
# Arches that OpenJDK and dependent packages run on
%java_arches aarch64 ppc64le s390x x86_64 %{arm} %{ix86}

View File

@ -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 <j@tib.bs> - 219-1
- Add java_arches macro.
* Tue May 17 2022 Maxwell G <gotmax@e.email> - 218-1
- Add `Requires: ansible-srpm-macros`