Browse Source

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 <junkio@cox.net>
maint
Junio C Hamano 20 years ago
parent
commit
d5928d6026
  1. 3
      git-core.spec.in

3
git-core.spec.in

@ -28,7 +28,7 @@ make prefix=%{_prefix} all %{!?_without_docs: doc} @@ -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 @@ -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}

Loading…
Cancel
Save