[libguestfs] test-stdalign is broken with i686 and GCC 4.7.
Richard W.M. Jones
rjones at fedoraproject.org
Thu Jan 26 23:39:46 UTC 2012
commit 7ab0c6a5a24117bd5574f2fb585c89dea77d44c5
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Jan 26 23:39:34 2012 +0000
test-stdalign is broken with i686 and GCC 4.7.
libguestfs.spec | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/libguestfs.spec b/libguestfs.spec
index 16d949c..9904a2d 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -30,7 +30,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs
Epoch: 1
Version: 1.17.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://libguestfs.org/
@@ -756,6 +756,17 @@ touch $borked
chmod +x $borked
popd
+%ifarch %{ix86}
+# test-stdalign is broken with i686 and GCC 4.7.
+pushd gnulib/tests
+borked=test-stdalign
+make $borked ||:
+rm $borked
+touch $borked
+chmod +x $borked
+popd
+%endif
+
%if %{runtests}
make check
%endif
@@ -1012,7 +1023,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Thu Jan 26 2012 Richard W.M. Jones <rjones at redhat.com> - 1:1.17.2-1
+* Thu Jan 26 2012 Richard W.M. Jones <rjones at redhat.com> - 1:1.17.2-2
- New upstream version 1.17.2.
- Use libdb-utils instead of old db4-utils.
- net-tools is no longer used; replaced by iproute (RHBZ#784647).
More information about the scm-commits
mailing list