The package rpms/java-11-openjdk.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/java-11-openjdk.git/commit/?id=4581e....
Change: +%ifarch noarch
Thanks.
Full change: ============
commit 4581efb916c29a7a9ed2f20c363b50ef4761d768 Author: Andrew Hughes gnu.andrew@redhat.com Date: Sat Jan 23 22:53:38 2021 +0000
Need to support noarch for creating source RPMs for non-scratch builds.
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 gnu.andrew@redhat.com - 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 gnu.andrew@redhat.com - 1:11.0.10.0.8-0.2.ea - Introduce stapinstall variable to set SystemTap arch directory correctly (e.g. arm64 on aarch64)