Fix RPM build that omitted templates and tools.
authorJunio C Hamano <junkio@cox.net>
Sun, 7 Aug 2005 03:38:13 +0000 (20:38 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 7 Aug 2005 03:54:49 +0000 (20:54 -0700)
Many many thanks go to Chris Wright and H. Peter Anvin whose
help were essential to get me going this build.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-core.spec.in

index 7d4f9d5..9921f46 100644 (file)
@@ -28,7 +28,7 @@ make prefix=%{_prefix} all %{!?_without_docs: doc}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make dest=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} install %{!?_without_docs: install-doc}
+make dest=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} install install-tools %{!?_without_docs: install-doc}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -36,6 +36,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root)
 %{_bindir}/*
+%{_datadir}/git-core/templates/*
 %doc README COPYING Documentation/*.txt
 %{!?_without_docs: %doc Documentation/*.html }
 %{!?_without_docs: %{_mandir}/man1/*.1.gz}