|
|
@ -230,13 +230,13 @@ if [ $1 -gt 1 ] ; then\
|
|
|
|
fi\
|
|
|
|
fi\
|
|
|
|
else\
|
|
|
|
else\
|
|
|
|
cd %{ghcdocbasedir}/libraries\
|
|
|
|
cd %{ghcdocbasedir}/libraries\
|
|
|
|
./gen_contents_index\
|
|
|
|
./gen_contents_index >/dev/null\
|
|
|
|
fi\
|
|
|
|
fi\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
%posttrans -n %{basepkg}-devel\
|
|
|
|
%posttrans -n %{basepkg}-devel\
|
|
|
|
if [ -f %{_localstatedir}/lib/rpm-state/ghc/haddock-reindex ]; then\
|
|
|
|
if [ -f %{_localstatedir}/lib/rpm-state/ghc/haddock-reindex ]; then\
|
|
|
|
cd %{ghcdocbasedir}/libraries\
|
|
|
|
cd %{ghcdocbasedir}/libraries\
|
|
|
|
./gen_contents_index\
|
|
|
|
./gen_contents_index >/dev/null\
|
|
|
|
rm %{_localstatedir}/lib/rpm-state/ghc/haddock-reindex\
|
|
|
|
rm %{_localstatedir}/lib/rpm-state/ghc/haddock-reindex\
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|