|
|
|
@ -48,12 +48,12 @@ echo "%dir %{pkgdir}" >> %{basepkg}.files\
|
|
|
|
|
echo "%attr(755,root,root) %{pkgdir}/libHS%{pkgnamever}-ghc%{ghc_version}.so" >> %{basepkg}.files\
|
|
|
|
|
fi\
|
|
|
|
|
%endif\
|
|
|
|
|
%if 0%{!?1:1}\
|
|
|
|
|
%if 0%{!?1:1} && %{undefined ghc_exclude_docdir}\
|
|
|
|
|
if [ -d "%{buildroot}%{_docdir}/%{name}-%{version}" ]; then\
|
|
|
|
|
echo "%{_docdir}/%{name}-%{version}" >> %{basepkg}%{?ghc_without_shared:-devel}.files\
|
|
|
|
|
fi\
|
|
|
|
|
%endif\
|
|
|
|
|
%if 0%{?1:1}\
|
|
|
|
|
%if 0%{!?1:1} && %{undefined ghc_exclude_docdir}\
|
|
|
|
|
if [ -d "%{buildroot}%{_docdir}/ghc-%{pkgnamever}" ]; then\
|
|
|
|
|
echo "%{_docdir}/ghc-%{pkgnamever}" >> %{basepkg}%{?ghc_without_shared:-devel}.files\
|
|
|
|
|
fi\
|
|
|
|
|