mirror of
https://abf.rosa.ru/djam/libgit2.git
synced 2025-02-23 06:32:58 +00:00
This commit is contained in:
parent
f1c4689893
commit
52a2a843c3
2 changed files with 10 additions and 0 deletions
3
libgit2.rpmlintrc
Normal file
3
libgit2.rpmlintrc
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
addFilter("E: hardcoded-library-path")
|
||||||
|
addFilter("E: executable-in-library-package")
|
||||||
|
addFilter("E: outside-libdir-files")
|
|
@ -10,6 +10,7 @@ License: GPLv2 with exceptions
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
URL: https://libgit2.org
|
URL: https://libgit2.org
|
||||||
Source0: https://github.com/libgit2/libgit2/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/libgit2/libgit2/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Source1000: %{name}.rpmlintrc
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: pkgconfig(krb5-gssapi)
|
BuildRequires: pkgconfig(krb5-gssapi)
|
||||||
BuildRequires: pkgconfig(libpcre)
|
BuildRequires: pkgconfig(libpcre)
|
||||||
|
@ -87,5 +88,11 @@ rm -rf deps/{chromium-zlib,pcre,winhttp,zlib}
|
||||||
%install
|
%install
|
||||||
%makeinstall_std -C build
|
%makeinstall_std -C build
|
||||||
|
|
||||||
|
# fix cmake path
|
||||||
|
%ifarch x86_64
|
||||||
|
install -d %{buildroot}%{_libdir}/cmake/%{name}
|
||||||
|
mv %{buildroot}%{_prefix}/lib/cmake/%{name}/* %{buildroot}%{_libdir}/cmake/%{name}/
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
ctest -V
|
ctest -V
|
||||||
|
|
Loading…
Add table
Reference in a new issue