without ghc_exclude_docdir include doc dir also for subpackages
This commit is contained in:
parent
64b3d676b2
commit
8fc16e2daa
@ -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\
|
||||
|
@ -64,6 +64,7 @@ EOF
|
||||
- move --disable-library-for-ghci to ghc_lib_build
|
||||
- revert back to fallback behaviour for common_summary and common_description
|
||||
since it is needed for ghc and haskell-platform subpackaging
|
||||
- without ghc_exclude_docdir include doc dir also for subpackages
|
||||
|
||||
* Tue Jun 5 2012 Jens Petersen <petersen@redhat.com> - 0.91-1
|
||||
- no longer build redundant ghci .o library files
|
||||
|
Loading…
Reference in New Issue
Block a user