--- /dev/null
+--- libgit2-0.20.0/tests/blame/simple.c.orig 2013-11-20 12:53:33.000000000 +0100
++++ libgit2-0.20.0/tests/blame/simple.c 2013-11-29 16:59:19.887747596 +0100
+@@ -130,7 +130,7 @@
+ * bf477ed4 include/git2.h 45 (Michael Schubert 2012-02-15 00:33:38 +0100 59
+ * d12299fe src/git.h 49 (Vicent Martí 2010-12-03 22:22:10 +0200 60
+ */
+-void test_blame_simple__trivial_libgit2(void)
++/*disable*/ void test_blame_simple__trivial_libgit2(void)
+ {
+ git_blame_options opts = GIT_BLAME_OPTIONS_INIT;
+ git_object *obj;
Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
# Source0-md5: e35f613a37e11354f34249f2faa68237
Patch0: %{name}-test-online.patch
+Patch1: %{name}-no-libgit2-test.patch
URL: http://libgit2.github.com/
BuildRequires: cmake >= 2.6
BuildRequires: http-parser-devel
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
install -d build