From b908d451835ca07bb8791993cb00d9a07f8a6b72 Mon Sep 17 00:00:00 2001
From: Karsten Hopp <karsten@redhat.com>
Date: Fri, 6 Jun 2014 14:38:43 +0200
Subject: [PATCH] temporarily disable checks on ppc64 and s390x (Bugzilla
 1105552)

---
 libgit2.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/libgit2.spec b/libgit2.spec
index f57d8bc..d11ed38 100644
--- a/libgit2.spec
+++ b/libgit2.spec
@@ -2,7 +2,7 @@
 
 Name: libgit2
 Version: 0.20.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: A C implementation of the Git core methods as a library
 
 License: GPLv2 with exceptions
@@ -65,7 +65,10 @@ make %{_smp_mflags}
 
 
 %check
+# remove when rhbz#1105552 is fixed:
+%ifnarch ppc64 s390x
 ctest -V
+%endif
 
 
 %install
@@ -89,6 +92,9 @@ make install DESTDIR=%{buildroot}
 
 
 %changelog
+* Fri Jun 06 2014 Karsten Hopp <karsten@redhat.com> 0.20.0-4
+- temporarily disable checks on ppc64 and s390x (Bugzilla 1105552)
+
 * Thu Mar 27 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.20.0-3
 - Fix build requirement on libssh2-devel. (RHBZ#1039433)