|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: libgit2
|
|
|
|
|
Version: 0.24.0
|
|
|
|
|
Version: 0.24.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: C implementation of the Git core methods as a library with a solid API
|
|
|
|
|
License: GPLv2 with exceptions
|
|
|
|
@ -43,32 +43,42 @@ sed -i 's/ionline/xonline/' CMakeLists.txt
|
|
|
|
|
# Remove bundled libraries
|
|
|
|
|
rm -frv deps
|
|
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake -DTHREADSAFE=ON .
|
|
|
|
|
%make_build
|
|
|
|
|
pushd build
|
|
|
|
|
%cmake -DTHREADSAFE=ON ..
|
|
|
|
|
%make_build
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
pushd build
|
|
|
|
|
%make_install
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
ctest -VV
|
|
|
|
|
pushd build
|
|
|
|
|
ctest -VV
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/libgit2.so.*
|
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc AUTHORS docs examples README.md
|
|
|
|
|
%{_libdir}/libgit2.so
|
|
|
|
|
%{_libdir}/pkgconfig/libgit2.pc
|
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
%{_includedir}/git2.h
|
|
|
|
|
%{_includedir}/git2/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 13 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-1
|
|
|
|
|
- Update to 0.24.1
|
|
|
|
|
|
|
|
|
|
* Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-1
|
|
|
|
|
- Update to 0.24.0 (RHBZ #1310638)
|
|
|
|
|
|
|
|
|
|