fixup ghc_arch renaming it to Cabal_arch

epel9
Jens Petersen 3 years ago
parent 430af17a2c
commit 8b135f0a25

@ -7,7 +7,7 @@
%endif %endif
Name: ghc-rpm-macros Name: ghc-rpm-macros
Version: 2.3.2 Version: 2.3.3
Release: 1%{?dist} Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC Summary: RPM macros for building Haskell packages for GHC
@ -184,6 +184,9 @@ EOF
%changelog %changelog
* Sun Dec 19 2021 Jens Petersen <petersen@redhat.com> - 2.3.3-1
- fixup ghc_arch renaming it to Cabal_arch
* Sat Dec 18 2021 Jens Petersen <petersen@redhat.com> - 2.3.2-1 * Sat Dec 18 2021 Jens Petersen <petersen@redhat.com> - 2.3.2-1
- define ghcliblib and ghclibplatform globally - define ghcliblib and ghclibplatform globally
- fix ghc-deps.sh dependency generation for Hadrian - fix ghc-deps.sh dependency generation for Hadrian

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

Loading…
Cancel
Save