_arch fits Cabal better for ghclibplatform
This commit is contained in:
parent
ad76ca4d4c
commit
400c117550
@ -7,7 +7,7 @@
|
||||
%endif
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 2.3.7
|
||||
Version: 2.3.8
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM macros for building Haskell packages for GHC
|
||||
|
||||
@ -184,6 +184,9 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Dec 20 2021 Jens Petersen <petersen@redhat.com> - 2.3.8-1
|
||||
- _arch fits Cabal better for ghclibplatform
|
||||
|
||||
* Mon Dec 20 2021 Jens Petersen <petersen@redhat.com> - 2.3.7-1
|
||||
- ghclibplatform: Cabal uses i386 for i686
|
||||
|
||||
|
@ -67,7 +67,7 @@ fi\
|
||||
%ghcliblib %{ghclibdir}%{?with_hadrian:/lib}
|
||||
|
||||
# Cabal has specific arch names
|
||||
%ghclibplatform %{ghcliblib}%{?with_hadrian:/%(arch | sed -e "s/ppc64le/ppc64/" -e "s/i686/i386/")-linux-ghc-%{ghc_version}}
|
||||
%ghclibplatform %{ghcliblib}%{?with_hadrian:/%(echo %{_arch} | sed -e "s/ppc64le/ppc64/")-linux-ghc-%{ghc_version}}
|
||||
|
||||
# ghc_gen_filelists [name] [version]
|
||||
%ghc_gen_filelists()\
|
||||
|
Loading…
Reference in New Issue
Block a user