From c8365175e3f2a9de8fffa4af901cfb922957c683 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 23 Nov 2020 08:24:31 +0000 Subject: [PATCH] Disable dietlibc on RHEL 9. --- supermin.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/supermin.spec b/supermin.spec index 4d1345d..6672ab8 100644 --- a/supermin.spec +++ b/supermin.spec @@ -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 - 5.2.0-5 +- Disable dietlibc on RHEL 9. + * Fri Aug 07 2020 Troy Dawson - 5.2.0-4 - Use ExclusiveArch: %{kernel_arches}