|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: libgit2
|
|
|
|
|
Version: 0.28.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: C implementation of the Git core methods as a library with a solid API
|
|
|
|
|
License: GPLv2 with exceptions
|
|
|
|
|
URL: https://libgit2.org/
|
|
|
|
@ -16,6 +16,7 @@ BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
Provides: bundled(libxdiff)
|
|
|
|
|
Obsoletes: libgit2_0.28 < 0.28.2-2
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
libgit2 is a portable, pure C implementation of the Git core methods
|
|
|
|
@ -26,6 +27,7 @@ with bindings.
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: libgit2_0.28-devel < 0.28.2-2
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains libraries and header files for
|
|
|
|
@ -58,20 +60,21 @@ rm -frv deps
|
|
|
|
|
%check
|
|
|
|
|
%ninja_test -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
%{_libdir}/libgit2.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc AUTHORS docs examples README.md
|
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
%{_libdir}/libgit2.so
|
|
|
|
|
%{_libdir}/pkgconfig/libgit2.pc
|
|
|
|
|
%{_includedir}/git2.h
|
|
|
|
|
%{_includedir}/git2/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 14 13:34:04 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.2-2
|
|
|
|
|
- Obsolete libgit2_0.28
|
|
|
|
|
|
|
|
|
|
* Thu Jun 06 14:22:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.28.2-1
|
|
|
|
|
- Update to 0.28.2
|
|
|
|
|
|
|
|
|
|