From d6d40231f2f3d63ffce14a412175844878f598b8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 26 Feb 2014 17:51:25 +0000 Subject: [PATCH] Use --disable-largefile to work around glibc bug (32 bit platforms only). --- supermin.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/supermin.spec b/supermin.spec index 6757626..776d030 100644 --- a/supermin.spec +++ b/supermin.spec @@ -1,7 +1,7 @@ Summary: Tool for creating supermin appliances Name: supermin Version: 5.1.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ %if 0%{?rhel} >= 7 @@ -46,7 +46,14 @@ second when you need to boot one of them. %build -%configure --disable-network-tests +# Use --disable-largefile to work around glibc bug: +# https://sourceware.org/bugzilla/show_bug.cgi?id=15838 +# Eventually we will need to fix this properly. +%configure \ + --disable-network-tests \ +%ifarch %{ix86} %{arm} + --disable-largefile +%endif make @@ -72,7 +79,7 @@ make check %changelog -* Wed Feb 26 2014 Richard W.M. Jones - 5.1.0-1 +* Wed Feb 26 2014 Richard W.M. Jones - 5.1.0-2 - New upstream version 5.1.0. - Note this is effectively a rewrite, and is not completely compatible. - There is no separate 'supermin-helper' subpackage any more.