This commit is contained in:
Sergey Zhemoytel 2023-07-19 15:26:29 +00:00
parent 3e048025a0
commit 399a604f29

View file

@ -1,4 +1,4 @@
%define major 1.5 %define major 1.7
%define libname %mklibname git2_ %{major} %define libname %mklibname git2_ %{major}
%define devname %mklibname git2 -d %define devname %mklibname git2 -d
@ -17,6 +17,7 @@ BuildRequires: pkgconfig(libssh2)
#BuildRequires: pkgconfig(openssl) #BuildRequires: pkgconfig(openssl)
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
Provides: git2
%description %description
libgit2 is a portable, pure C implementation of the Git core methods libgit2 is a portable, pure C implementation of the Git core methods
@ -38,7 +39,7 @@ with bindings.
%files -n %{libname} %files -n %{libname}
%doc README.md COPYING AUTHORS %doc README.md COPYING AUTHORS
%{_bindir}/git2_cli %{_bindir}/git2
%{_libdir}/libgit2.so.%{major} %{_libdir}/libgit2.so.%{major}
%{_libdir}/libgit2.so.%{major}.* %{_libdir}/libgit2.so.%{major}.*