From: Junio C Hamano Date: Sun, 7 Aug 2005 03:38:13 +0000 (-0700) Subject: Fix RPM build that omitted templates and tools. X-Git-Tag: v0.99.4~13 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d5928d602667546d9834beb0ab8bf641ad45c028?hp=--cc Fix RPM build that omitted templates and tools. 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 --- d5928d602667546d9834beb0ab8bf641ad45c028 diff --git a/git-core.spec.in b/git-core.spec.in index 7d4f9d5ab7..9921f46e9e 100644 --- a/git-core.spec.in +++ b/git-core.spec.in @@ -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}