[packages/git-core] package git subtree from contrib

glen glen at pld-linux.org
Thu Mar 13 07:30:41 CET 2014


commit d1d05a7a2a6ee705076164f64d6f8a8143366c23
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Mar 13 08:30:32 2014 +0200

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/d1d05a7a2a6ee705076164f64d6f8a8143366c23



More information about the pld-cvs-commit mailing list