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