Install infos using FC conventions.

This commit is contained in:
Ralf Corsepius
2005-04-26 13:45:33 +00:00
parent 3e66bcf012
commit e6bb55ea02
3 changed files with 48 additions and 40 deletions

View File

@@ -87,6 +87,8 @@ cd ..
rm -rf $RPM_BUILD_ROOT%{_infodir}/configure.info*
%endif
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# gzip info files
ls $RPM_BUILD_ROOT%{_infodir}/*.info \
$RPM_BUILD_ROOT%{_infodir}/*.info-? \
@@ -95,13 +97,6 @@ cd ..
gzip -9qf $a 2>/dev/null; \
done
# We assume that info/dir exists when building the RPMs
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
f=`find $RPM_BUILD_ROOT%{_infodir} -name '*.info.gz'`
test x"$f" != x"" && for i in $f; do
/sbin/install-info $i $RPM_BUILD_ROOT%{_infodir}/dir
done
# gzip man pages
gzip -9qf $RPM_BUILD_ROOT%{_mandir}/man?/*.? 2>/dev/null