From 3c79fab8c61687ae8615916f16501d5f176af23d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 18 Mar 2017 13:08:01 -0400 Subject: [PATCH] Enable dietlibc on aarch64 and POWER. --- supermin.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/supermin.spec b/supermin.spec index ebf8de5..fd202d1 100644 --- a/supermin.spec +++ b/supermin.spec @@ -8,7 +8,7 @@ # https://bugzilla.redhat.com/show_bug.cgi?id=1204162 %undefine _hardened_build -# On armv7 and x86, the default is ``--with dietlibc''. +# On architectures that support it, the default is ``--with dietlibc''. # # To use glibc-static instead, do ``--without dietlibc''. This # results in a much larger (about 40 times larger) init binary. @@ -19,7 +19,7 @@ # See also: # https://github.com/libguestfs/supermin/commit/9bb57e1a8d0f3b57eb09f65dd574f702b67e1c2f -%ifarch %{arm} %{ix86} x86_64 s390x +%ifarch aarch64 %{arm} %{ix86} %{power} s390x x86_64 %bcond_without dietlibc %else %bcond_with dietlibc @@ -31,7 +31,7 @@ Summary: Tool for creating supermin appliances Name: supermin Version: 5.1.17 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ %if 0%{?rhel} >= 7 @@ -170,6 +170,9 @@ make check || { %changelog +* Sat Mar 18 2017 Richard W.M. Jones - 5.1.17-5 +- Enable dietlibc on aarch64 and POWER. + * Fri Mar 17 2017 Richard W.M. Jones - 5.1.17-4 - Drop dependency on hawkey and versioned dependencies on dnf.