From d1d05a7a2a6ee705076164f64d6f8a8143366c23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 13 Mar 2014 08:30:32 +0200 Subject: [PATCH] package git subtree from contrib --- git-core.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/git-core.spec b/git-core.spec index 758d4f9..5d7d8c2 100644 --- a/git-core.spec +++ b/git-core.spec @@ -11,7 +11,7 @@ Summary: Distributed version control system focused on speed, effectivity and us Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności Name: git-core Version: 1.9.0 -Release: 1 +Release: 2 License: GPL v2 Group: Development/Tools Source0: http://git-core.googlecode.com/files/git-%{version}.tar.gz @@ -436,6 +436,8 @@ echo "BLK_SHA1=1" >> config.mak GITWEB_FAVICON="/gitweb/git-favicon.png" \ V=1 +%{__make} -C contrib/subtree + %if %{with doc} %{__make} -C Documentation \ MAN_BASE_URL=file://%{_docdir}/%{name}-doc-%{version}/ \ @@ -483,6 +485,15 @@ cp -p libgit.a $RPM_BUILD_ROOT%{_libdir} cp -p xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a cp -p {Makefile,config.mak,config.mak.autogen,config.mak.uname} $RPM_BUILD_ROOT%{_includedir}/%{name} +%{__make} -C contrib/subtree install \ + libexecdir=%{_libdir}/%{name} \ + DESTDIR=$RPM_BUILD_ROOT + +%if %{with doc} +%{__make} -C contrib/subtree install-doc \ + DESTDIR=$RPM_BUILD_ROOT +%endif + # bash completion install -d $RPM_BUILD_ROOT%{bash_compdir} cp -p contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{bash_compdir}/git -- 2.44.0