]> git.pld-linux.org Git - packages/libgit2.git/commitdiff
- updated to 0.23.3 auto/th/libgit2-0.23.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 18 Oct 2015 13:49:30 +0000 (15:49 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 18 Oct 2015 13:49:30 +0000 (15:49 +0200)
- update test-online patch

libgit2-test-online.patch
libgit2.spec

index cae768681a599a75a40c203bed1c2d591b9e5fb2..e7ee6defb007e1c168a2469fa55b815d25867471 100644 (file)
@@ -1,18 +1,14 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 10caa16..714d86c 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -359,7 +359,12 @@ IF (BUILD_CLAR)
-       ENDIF ()
+--- libgit2-0.23.3/CMakeLists.txt.orig 2015-10-18 14:13:01.342360169 +0200
++++ libgit2-0.23.3/CMakeLists.txt      2015-10-18 14:15:26.742357088 +0200
+@@ -588,7 +588,11 @@
  
        ENABLE_TESTING()
--      ADD_TEST(libgit2_clar libgit2_clar -ionline)
-+        IF (ONLINE_TESTS)
-+          ADD_TEST(libgit2_clar libgit2_clar -ionline)
-+        ELSE ()
-+          ADD_TEST(libgit2_clar libgit2_clar -xonline -xnetwork::remote::remotes)
-+        ENDIF ()
-+
- ENDIF ()
- IF (TAGS)
+       IF (WINHTTP OR OPENSSL_FOUND OR SECURITY_FOUND)
++              IF (ONLINE_TESTS)
+               ADD_TEST(libgit2_clar libgit2_clar -ionline)
++              ELSE ()
++                      ADD_TEST(libgit2_clar libgit2_clar -xonline -xnetwork::remote::remotes)
++              ENDIF ()
+       ELSE ()
+               ADD_TEST(libgit2_clar libgit2_clar -v)
+       ENDIF ()
index b0e3ad3a196af5c8430e3703d68e12e95dfb55fe..2c4a8e99fa1033a0ad8847ab5a7308a0eed47c80 100644 (file)
@@ -1,24 +1,28 @@
 #
 # Conditional build:
+%bcond_without kerberos5       # GSSAPI for SPNEGO auth
 %bcond_without tests           # build without tests
 %bcond_with    tests_online    # build with tests reqiuring online access
 
 Summary:       C git library
 Summary(pl.UTF-8):     Biblioteka git dla C
 Name:          libgit2
-Version:       0.22.2
+Version:       0.23.3
 Release:       1
 License:       GPL v2 with linking exception
 Group:         Libraries
 Source0:       https://github.com/libgit2/libgit2/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 7b21448c471dc76a3ca4801b61ac856a
+# Source0-md5: b33d043f655cc0671aeb95d62a75c981
 Patch0:                %{name}-test-online.patch
 Patch1:                %{name}-no-libgit2-test.patch
 URL:           http://libgit2.github.com/
-BuildRequires: cmake >= 2.6
-BuildRequires: http-parser-devel
+BuildRequires: cmake >= 2.8
+BuildRequires: curl-devel
+%{?with_kerberos5:BuildRequires:       heimdal-devel}
+BuildRequires: http-parser-devel >= 2
 BuildRequires: libssh2-devel
 BuildRequires: openssl-devel
+BuildRequires: pkgconfig
 %{?with_tests:BuildRequires:   python}
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,7 +71,8 @@ cd build
        -DINCLUDE_INSTALL_DIR:PATH=include \
        -DLIB_INSTALL_DIR:PATH=%{_lib} \
        %{?with_tests_online:-DONLINE_TESTS:BOOL=ON} \
-       -DTHREADSAFE:BOOL=ON
+       -DTHREADSAFE:BOOL=ON \
+       %{?with_kerberos5:-DUSE_GSSAPI:BOOL=ON}
 %{__make}
 
 %{?with_tests:%{__make} test ARGS="-V"}
@@ -87,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS CONTRIBUTING.md COPYING README.md
 %attr(755,root,root) %{_libdir}/libgit2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgit2.so.22
+%attr(755,root,root) %ghost %{_libdir}/libgit2.so.23
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.05543 seconds and 4 git commands to generate.