|
|
|
@ -48,7 +48,7 @@ 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} && %{defined ghc_without_shared}\
|
|
|
|
|
%if %{defined ghc_without_shared}\
|
|
|
|
|
if [ "%{name}" = "ghc-%{pkg_name}" ]; then\
|
|
|
|
|
if [ -d "%{buildroot}%{_docdir}/%{name}-%{version}" ]; then\
|
|
|
|
|
mv %{buildroot}%{_docdir}/%{name}-%{version} %{buildroot}%{_docdir}/%{name}-devel-%{version}\
|
|
|
|
@ -58,7 +58,7 @@ if [ "%{name}" = "ghc-%{pkg_name}" ]; then\
|
|
|
|
|
fi\
|
|
|
|
|
fi\
|
|
|
|
|
%endif\
|
|
|
|
|
%if 0%{!?1:1} && %{undefined ghc_exclude_docdir}\
|
|
|
|
|
%if %{undefined ghc_exclude_docdir}\
|
|
|
|
|
if [ -d "%{buildroot}%{_docdir}/%{name}-%{version}" ]; then\
|
|
|
|
|
echo "%{_docdir}/%{name}-%{version}" >> %{basepkg}%{?ghc_without_shared:-devel}.files\
|
|
|
|
|
elif [ -d "%{buildroot}%{_docdir}/ghc-%{pkgnamever}" ]; then\
|
|
|
|
|