From 4aaef571f740f9348b128b8f791990091ff6f910 Mon Sep 17 00:00:00 2001 From: Tigro Date: Tue, 7 Apr 2015 19:57:58 +0300 Subject: [PATCH] rebuilt with libssh support --- libgit2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libgit2.spec b/libgit2.spec index 751030d..151fa6c 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -4,7 +4,7 @@ Name: libgit2 Version: 0.22.2 -Release: 1 +Release: 2 Summary: A C implementation of the Git core methods as a library Group: System/Libraries License: GPLv2 with exceptions @@ -22,6 +22,7 @@ Patch1: libgit2-0.19.0-non-x86.patch BuildRequires: cmake >= 2.6 BuildRequires: http-parser-devel BuildRequires: openssl-devel +BuildRequires: pkgconfig(libssh2) BuildRequires: python BuildRequires: zlib-devel @@ -68,7 +69,9 @@ rm -rf deps #rm -rf src/xdiff %build -%cmake -DTHREADSAFE:BOOL=ON +%cmake \ + -DTHREADSAFE:BOOL=ON \ + -DUSE_SSH:BOOL=ON %make %check