]> git.pld-linux.org Git - packages/libgit2.git/commitdiff
- updated to 1.4.3 (new soname) auto/th/libgit2-1.4.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Jun 2022 06:59:53 +0000 (08:59 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Jun 2022 06:59:53 +0000 (08:59 +0200)
libgit2.spec

index 7533c4047cd9c5b73101f93273ab600a627f715f..db17a16fc0461aa508c6bd7932f845c71cdadc61 100644 (file)
@@ -7,13 +7,13 @@
 Summary:       C Git library
 Summary(pl.UTF-8):     Biblioteka Git dla C
 Name:          libgit2
-Version:       1.3.0
+Version:       1.4.3
 Release:       1
 License:       GPL v2 with linking exception
 Group:         Libraries
 #Source0Download: https://github.com/libgit2/libgit2/releases
 Source0:       https://github.com/libgit2/libgit2/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: c8b6658e421d51f0e1a5fe0c17fc41dc
+# Source0-md5: 61b3421e91c7e0e2938dfb36c26f19ba
 Patch0:                %{name}-no-libgit2-test.patch
 URL:           http://libgit2.github.com/
 BuildRequires: cmake >= 3.5.1
@@ -21,7 +21,7 @@ BuildRequires:        cmake >= 3.5.1
 BuildRequires: http-parser-devel >= 2
 %{?with_libssh:BuildRequires:  libssh2-devel}
 BuildRequires: openssl-devel
-BuildRequires: pcre-devel
+BuildRequires: pcre2-8-devel
 BuildRequires: pkgconfig
 %{?with_tests:BuildRequires:   python}
 BuildRequires: rpmbuild(macros) >= 1.742
@@ -71,19 +71,18 @@ cd build
 # Type (:PATH or :STRING) must be specified explicitly to avoid expansion
 # relative to cwd.
 %cmake .. \
-       -DINCLUDE_INSTALL_DIR:PATH=include \
-       -DLIB_INSTALL_DIR:PATH=%{_lib} \
-       %{cmake_on_off tests BUILD_CLAR} \
+       %{cmake_on_off tests BUILD_TESTS} \
+       -DREGEX_BACKEND=pcre2 \
        %{cmake_on_off kerberos5 USE_GSSAPI} \
-       %{cmake_on_off libssh USE_SSH} \
        -DUSE_HTTP_PARSER=system \
-       -DTHREADSAFE:BOOL=ON
+       %{cmake_on_off libssh USE_SSH}
 %{__make}
 
 %{?with_tests:%{__make} test ARGS="-V"}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
@@ -97,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS docs/contributing.md COPYING README.md
 %attr(755,root,root) %{_libdir}/libgit2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgit2.so.1.3
+%attr(755,root,root) %ghost %{_libdir}/libgit2.so.1.4
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.05474 seconds and 4 git commands to generate.