[packages/libgit2] - added no-libgit2-test patch (disable patch requiring local libgit2 repository, not present in rele
qboosh
qboosh at pld-linux.org
Fri Nov 29 17:10:40 CET 2013
commit 6bc0cd1c57bab21201e748467140c6f8b8f67194
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Nov 29 17:11:45 2013 +0100
- added no-libgit2-test patch (disable patch requiring local libgit2 repository, not present in release tarballs)
libgit2-no-libgit2-test.patch | 11 +++++++++++
libgit2.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/libgit2.spec b/libgit2.spec
index f8d003a..c907a8a 100644
--- a/libgit2.spec
+++ b/libgit2.spec
@@ -13,6 +13,7 @@ Group: Libraries
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
@@ -51,6 +52,7 @@ Pliki nagłówkowe biblioteki libgit2.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
install -d build
diff --git a/libgit2-no-libgit2-test.patch b/libgit2-no-libgit2-test.patch
new file mode 100644
index 0000000..acb5691
--- /dev/null
+++ b/libgit2-no-libgit2-test.patch
@@ -0,0 +1,11 @@
+--- 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;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgit2.git/commitdiff/6bc0cd1c57bab21201e748467140c6f8b8f67194
More information about the pld-cvs-commit
mailing list