From e1a53695c25a551da8390d43fbf8d908ba3411ec Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Tue, 24 Nov 2020 04:19:44 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/supermin.git#c8365175e3f2a9de8fffa4af901cfb922957c683 --- 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}