Need to support noarch for creating source RPMs for non-scratch builds.

This commit is contained in:
Andrew Hughes 2021-01-23 22:53:38 +00:00
parent 10631d6261
commit 4581efb916
1 changed files with 8 additions and 0 deletions

View File

@ -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)