fix rpm file list
This commit is contained in:
parent
a651dfaaa3
commit
1b3c8cd1cd
7
qt.spec
7
qt.spec
@ -455,7 +455,11 @@ popd
|
|||||||
cp -fR doc/man/* %{buildroot}%{_mandir}/
|
cp -fR doc/man/* %{buildroot}%{_mandir}/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
rm -rf %{buildroot}%{qtdir}/doc/*
|
if [ -d %{buildroot}%{qtdir}/doc ] ; then
|
||||||
|
rm -rf %{buildroot}%{qtdir}/doc/*
|
||||||
|
else
|
||||||
|
mkdir -p %{buildroot}%{qtdir}/doc
|
||||||
|
fi
|
||||||
for x in html tutorial examples ; do
|
for x in html tutorial examples ; do
|
||||||
ln -s ../../../share/doc/%{name}-devel-%{version}/$x %{buildroot}%{qtdir}/doc/
|
ln -s ../../../share/doc/%{name}-devel-%{version}/$x %{buildroot}%{qtdir}/doc/
|
||||||
done
|
done
|
||||||
@ -619,6 +623,7 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
%{qtdir}/translations
|
%{qtdir}/translations
|
||||||
%{qtdir}/phrasebooks
|
%{qtdir}/phrasebooks
|
||||||
|
%{qtdir}/doc
|
||||||
%{_bindir}/assistant*
|
%{_bindir}/assistant*
|
||||||
%{_bindir}/moc*
|
%{_bindir}/moc*
|
||||||
%{_bindir}/uic*
|
%{_bindir}/uic*
|
||||||
|
Loading…
Reference in New Issue
Block a user