fpc rpm: 2.6.1 does not create /usr/share/doc

git-svn-id: trunk@35014 -
This commit is contained in:
mattias 2012-01-29 11:41:46 +00:00
parent 5ff2060288
commit f1341981ff
2 changed files with 5 additions and 1 deletions

View File

@ -42,6 +42,9 @@ if [ ! -d $FPCSrcDir/compiler ]; then
exit -1
fi
# checking for needed tools
rpmbuild --version
#------------------------------------------------------------------------------
# patching
#------------------------------------------------------------------------------

View File

@ -145,7 +145,8 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%{_bindir}/*
%{_libdir}/%{name}
%dir %{_defaultdocdir}
# Note: 2.6.1 does not create /usr/share/doc the defaultdocdir
#%dir %{_defaultdocdir}
#%doc %{_defaultdocdir}/%{name}-${FPCVERSION}/NEWS
#%doc %{_defaultdocdir}/%{name}-${FPCVERSION}/README
#%doc %{_defaultdocdir}/%{name}-${FPCVERSION}/readme.ide