From 4581efb916c29a7a9ed2f20c363b50ef4761d768 Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Sat, 23 Jan 2021 22:53:38 +0000 Subject: [PATCH] Need to support noarch for creating source RPMs for non-scratch builds. --- java-11-openjdk.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index a7fdcbf..e3276ae 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -174,6 +174,11 @@ %else %global bootstrap_build 1 %endif +# Need to support noarch for srpm build +%ifarch noarch +%global archinstall %{nil} +%global stapinstall %{nil} +%endif %if %{bootstrap_build} %global release_targets bootcycle-images static-libs-image docs-zip @@ -2182,6 +2187,9 @@ require "copy_jdk_configs.lua" %endif %changelog +* Sat Jan 23 2021 Andrew Hughes - 1:11.0.10.0.8-0.2.ea +- Need to support noarch for creating source RPMs for non-scratch builds. + * Mon Jan 18 2021 Andrew Hughes - 1:11.0.10.0.8-0.2.ea - Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64)