Remove infos and man7 if !%build_infos.

This commit is contained in:
Ralf Corsepius
2006-07-18 02:32:19 +00:00
parent c10a31b11c
commit 4557d3cdd6

View File

@@ -38,9 +38,7 @@
# We don't ship info/dir
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
touch $RPM_BUILD_ROOT%{_infodir}/dir
%endif
%if "%{_prefix}" == "/usr"
%else
# Conflict with a native GCC's infos
rm -rf $RPM_BUILD_ROOT%{_infodir}