Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
4d70597ca8 | |||
b3c2afb7d9 | |||
a71e39c055 |
BIN
libgit2-1.9.0.tar.gz
(Stored with Git LFS)
BIN
libgit2-1.9.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
libgit2-1.9.1.tar.gz
Normal file
3
libgit2-1.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:14cab3014b2b7ad75970ff4548e83615f74d719afe00aa479b4a889c1e13fc00
|
||||||
|
size 7665631
|
@@ -1,2 +1,3 @@
|
|||||||
# libgit2-tools ships the tools
|
# libgit2-tools ships the tools
|
||||||
addFilter("libgit2-tools.*shlib-policy-missing-lib")
|
addFilter("libgit2-tools.*shlib-policy-missing-lib")
|
||||||
|
addFilter("libgit2-experimental-tools.*shlib-policy-missing-lib")
|
||||||
|
@@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 19:23:27 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 1.9.1:
|
||||||
|
* hash: allow unsigned int != size_t in sha256
|
||||||
|
* include: Fix code comment termination
|
||||||
|
* alternates: allow relative paths in all repositories
|
||||||
|
* Fix potential null dereference
|
||||||
|
* attr: honor ignorecase in attribute matching
|
||||||
|
* tag: Refuse to use HEAD as a tagname
|
||||||
|
* Fix memory leak in openssl fips modes
|
||||||
|
* Fix circular includes between types.h and oid.h
|
||||||
|
* diff: correct diff stat alignment in presence of renames w/ common prefix
|
||||||
|
* Revert include path regression
|
||||||
|
* documentation updates
|
||||||
|
- changes to cmake file placement, add the needed conflict
|
||||||
|
between -devel and -experimental-devel
|
||||||
|
- fix Leap build of experimental flavor
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 28 13:30:39 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
Fri Feb 28 13:30:39 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
33
libgit2.spec
33
libgit2.spec
@@ -19,19 +19,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
|
||||||
%define pname libgit2
|
%define pname libgit2
|
||||||
|
%if "%{flavor}" == "experimental"
|
||||||
%if "%flavor" == "experimental"
|
|
||||||
%define psuffix -%{flavor}
|
%define psuffix -%{flavor}
|
||||||
|
%define sosuffix 1_9
|
||||||
%bcond_without expt_sha256
|
%bcond_without expt_sha256
|
||||||
%else
|
%else
|
||||||
|
%define sosuffix -1_9
|
||||||
%bcond_with expt_sha256
|
%bcond_with expt_sha256
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define sover 1_9
|
|
||||||
Name: %{pname}%{?psuffix}
|
Name: %{pname}%{?psuffix}
|
||||||
Version: 1.9.0
|
Version: 1.9.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C git library
|
Summary: C git library
|
||||||
License: GPL-2.0-only WITH GCC-exception-2.0
|
License: GPL-2.0-only WITH GCC-exception-2.0
|
||||||
@@ -53,11 +51,11 @@ provided as a re-entrant linkable library with a solid API, allowing
|
|||||||
you to write native speed custom Git applications in any language
|
you to write native speed custom Git applications in any language
|
||||||
with bindings.
|
with bindings.
|
||||||
|
|
||||||
%package -n %{name}-%{sover}
|
%package -n %{name}%{sosuffix}
|
||||||
Summary: C git library
|
Summary: C git library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{name}-%{sover}
|
%description -n %{name}%{sosuffix}
|
||||||
libgit2 is a portable, pure C implementation of the Git core methods
|
libgit2 is a portable, pure C implementation of the Git core methods
|
||||||
provided as a re-entrant linkable library with a solid API, allowing
|
provided as a re-entrant linkable library with a solid API, allowing
|
||||||
you to write native speed custom Git applications in any language
|
you to write native speed custom Git applications in any language
|
||||||
@@ -66,7 +64,8 @@ with bindings.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: C git library
|
Summary: C git library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}-%{sover} >= %{version}
|
Requires: %{name}%{sosuffix} = %{version}
|
||||||
|
Conflicts: cmake(libgit2)
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
@@ -81,7 +80,6 @@ This package contains a git cli based on libgit2.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{pname}-%{version}
|
%autosetup -p1 -n %{pname}-%{version}
|
||||||
find examples -type f -name ".gitignore" -print -delete
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
@@ -89,20 +87,16 @@ find examples -type f -name ".gitignore" -print -delete
|
|||||||
-DREGEX_BACKEND=pcre2 \
|
-DREGEX_BACKEND=pcre2 \
|
||||||
-DENABLE_REPRODUCIBLE_BUILDS:BOOL=ON \
|
-DENABLE_REPRODUCIBLE_BUILDS:BOOL=ON \
|
||||||
-DEXPERIMENTAL_SHA256:BOOL=%{?with_expt_sha256:ON}%{!?with_expt_sha256:OFF} \
|
-DEXPERIMENTAL_SHA256:BOOL=%{?with_expt_sha256:ON}%{!?with_expt_sha256:OFF} \
|
||||||
|
-DBUILD_TESTS:BOOL=OFF \
|
||||||
%{nil}
|
%{nil}
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
# Move cmake modules to the right dir
|
%ldconfig_scriptlets -n %{name}%{sosuffix}
|
||||||
%if "%{name}" != "%{pname}"
|
|
||||||
mv %{buildroot}%{_prefix}/lib/cmake/%{pname} %{buildroot}%{_prefix}/lib/cmake/%{name}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%ldconfig_scriptlets -n %{name}-%{sover}
|
%files -n %{name}%{sosuffix}
|
||||||
|
|
||||||
%files -n %{name}-%{sover}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS README.md
|
%doc AUTHORS README.md
|
||||||
%{_libdir}/%{name}.so.*
|
%{_libdir}/%{name}.so.*
|
||||||
@@ -113,11 +107,10 @@ mv %{buildroot}%{_prefix}/lib/cmake/%{pname} %{buildroot}%{_prefix}/lib/cmake/%{
|
|||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_includedir}/git2*
|
%{_includedir}/git2*
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
%dir %{_prefix}/lib/cmake
|
%{_libdir}/cmake/libgit2
|
||||||
%{_prefix}/lib/cmake/%{name}/
|
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/*
|
%{_bindir}/git2%{?with_expt_sha256:-experimental}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user