|
|
|
@ -65,16 +65,11 @@ fi\
|
|
|
|
|
%_ghclicensedir %{?_defaultlicensedir}%{!?_defaultlicensedir:%_docdir}
|
|
|
|
|
|
|
|
|
|
# needed for Cabal ppc64le
|
|
|
|
|
%ghc_arch\
|
|
|
|
|
%ifarch ppc64le\
|
|
|
|
|
ppc64\
|
|
|
|
|
%else\
|
|
|
|
|
%{_arch}\
|
|
|
|
|
%endif
|
|
|
|
|
%Cabal_arch %(arch | sed -e "s/ppc64le/ppc64/")
|
|
|
|
|
|
|
|
|
|
%ghcliblib %{ghclibdir}%{?with_hadrian:/lib}
|
|
|
|
|
|
|
|
|
|
%ghclibplatform %{ghcliblib}%{?with_hadrian:/%{ghc_arch}-linux-ghc-%{ghc_version}}
|
|
|
|
|
%ghclibplatform %{ghcliblib}%{?with_hadrian:/%{Cabal_arch}-linux-ghc-%{ghc_version}}
|
|
|
|
|
|
|
|
|
|
# ghc_gen_filelists [name] [version]
|
|
|
|
|
%ghc_gen_filelists()\
|
|
|
|
|