forked from pool/libgit2
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| aaa81f95f1 | |||
| 58069204a2 | |||
| f1b259b722 | |||
| 2d6f9dadde | |||
| d6829b76f5 | |||
| a62d40937d | |||
| a0a5b314ac | |||
| 3fd0eeb69a |
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>experimental</package>
|
||||
</multibuild>
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c1eaf0cf07cba0e9021920bfba9502140220786ed5d8a8ec6c7ad9174522f8e
|
||||
size 7608949
|
||||
BIN
libgit2-1.9.0.tar.gz
LFS
Normal file
BIN
libgit2-1.9.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 13:30:39 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Pass -DEXPERIMENTAL_SHA256=ON to cmake to enable sha256
|
||||
integration (already being used by opensuse gitea) in a separate
|
||||
multibuild flavour. This provides downstream libs (like pygit2)
|
||||
to build against the experimental flavour, should they want to.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 04:45:40 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 1.9.0
|
||||
* update TLS cipher selection to match the "compatibility" cipher
|
||||
suite settings as documented by Mozilla.
|
||||
* blame API now contains committer information and commit
|
||||
summaries for blame hunks, and the ability to get information
|
||||
about the line of text that was modified
|
||||
* add blame, init commands to CLI
|
||||
* ABI-breaking changes in blame hunk, checkout, configuration,
|
||||
update_refs
|
||||
* new API: git_signature_default_from_env
|
||||
* packbuilder can now be interrupted from a callback
|
||||
* honor the preciousObject repository extension
|
||||
* Push status will be reported even when a push fails
|
||||
* support generating think packs from a mempack instanct
|
||||
* New LIBGIT2_VERSION_CHECK macro for version checking
|
||||
* Custom X509 certificates can be added to OpenSSL's certificate
|
||||
store using the GIT_OPT_ADD_SSL_X509_CERT option
|
||||
* Bug fixes and documentation updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 19:25:41 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 1.8.4:
|
||||
* Actually includes the pre-1.8.0 commit constness behavior fix
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 27 15:48:41 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 1.8.3:
|
||||
* revert a const-correctness change introduced in v1.8.0 for
|
||||
the git_commit_create functions. Retain the const-behavior for
|
||||
the commits arguments from prior to v1.8.0.
|
||||
* Fix a bug introduced in v1.8.1 for users of the legacy
|
||||
Node.js http-parser dependency.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 17 10:30:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
35
libgit2.spec
35
libgit2.spec
@@ -1,9 +1,9 @@
|
||||
#
|
||||
# spec file for package libgit2
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,15 +18,26 @@
|
||||
#
|
||||
|
||||
|
||||
%define sover 1_8
|
||||
Name: libgit2
|
||||
Version: 1.8.1
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
|
||||
%define pname libgit2
|
||||
|
||||
%if "%flavor" == "experimental"
|
||||
%define psuffix -%{flavor}
|
||||
%bcond_without expt_sha256
|
||||
%else
|
||||
%bcond_with expt_sha256
|
||||
%endif
|
||||
|
||||
%define sover 1_9
|
||||
Name: %{pname}%{?psuffix}
|
||||
Version: 1.9.0
|
||||
Release: 0
|
||||
Summary: C git library
|
||||
License: GPL-2.0-only WITH GCC-exception-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://libgit2.github.com/
|
||||
Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz#/%{pname}-%{version}.tar.gz
|
||||
Source1: libgit2-rpmlintrc
|
||||
BuildRequires: cmake >= 3.5.1
|
||||
BuildRequires: pkgconfig
|
||||
@@ -69,7 +80,7 @@ Group: Development/Tools/Version Control
|
||||
This package contains a git cli based on libgit2.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -n %{pname}-%{version}
|
||||
find examples -type f -name ".gitignore" -print -delete
|
||||
|
||||
%build
|
||||
@@ -77,12 +88,18 @@ find examples -type f -name ".gitignore" -print -delete
|
||||
-DUSE_SSH:BOOL=ON \
|
||||
-DREGEX_BACKEND=pcre2 \
|
||||
-DENABLE_REPRODUCIBLE_BUILDS:BOOL=ON \
|
||||
-DEXPERIMENTAL_SHA256:BOOL=%{?with_expt_sha256:ON}%{!?with_expt_sha256:OFF} \
|
||||
%{nil}
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
# Move cmake modules to the right dir
|
||||
%if "%{name}" != "%{pname}"
|
||||
mv %{buildroot}%{_prefix}/lib/cmake/%{pname} %{buildroot}%{_prefix}/lib/cmake/%{name}
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets -n %{name}-%{sover}
|
||||
|
||||
%files -n %{name}-%{sover}
|
||||
@@ -95,7 +112,9 @@ find examples -type f -name ".gitignore" -print -delete
|
||||
%doc examples
|
||||
%{_libdir}/%{name}.so
|
||||
%{_includedir}/git2*
|
||||
%{_libdir}/pkgconfig/libgit2.pc
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%dir %{_prefix}/lib/cmake
|
||||
%{_prefix}/lib/cmake/%{name}/
|
||||
|
||||
%files tools
|
||||
%license COPYING
|
||||
|
||||
Reference in New Issue
Block a user