Disable dietlibc on RHEL 9.

This commit is contained in:
Richard W.M. Jones 2020-11-23 08:24:31 +00:00
parent 517a7171c7
commit c8365175e3
1 changed files with 8 additions and 1 deletions

View File

@ -14,11 +14,15 @@
# See also:
# https://github.com/libguestfs/supermin/commit/9bb57e1a8d0f3b57eb09f65dd574f702b67e1c2f
%if 0%{?rhel}
%bcond_with dietlibc
%else
%ifarch aarch64 %{arm} %{ix86} %{power} s390x x86_64
%bcond_without dietlibc
%else
%bcond_with dietlibc
%endif
%endif
# Whether we should verify tarball signature with GPGv2.
%global verify_tarball_signature %{nil}
@ -29,7 +33,7 @@
Summary: Tool for creating supermin appliances
Name: supermin
Version: 5.2.0
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+
ExclusiveArch: %{kernel_arches}
@ -164,6 +168,9 @@ make check || {
%changelog
* Mon Nov 23 2020 Richard W.M. Jones <rjones@redhat.com> - 5.2.0-5
- Disable dietlibc on RHEL 9.
* Fri Aug 07 2020 Troy Dawson <tdawson@redhat.com> - 5.2.0-4
- Use ExclusiveArch: %{kernel_arches}