diff options
Diffstat (limited to 'ghc-bootstrap.spec')
-rw-r--r-- | ghc-bootstrap.spec | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/ghc-bootstrap.spec b/ghc-bootstrap.spec index 033814d..bc5ed44 100644 --- a/ghc-bootstrap.spec +++ b/ghc-bootstrap.spec @@ -5,10 +5,8 @@ Summary: Binary distributions of The Glorious Glasgow Haskell Compiler License: BSD-3-Clause URL: https://gitee.com/src-openeuler/ghc-bootstrap Source0: LICENSE -Source1: ghc-9.2.3-powerpc64-unknown-linux.tar.xz -Source2: ghc-9.2.3-powerpc64le-unknown-linux.tar.xz -Source3: ghc-9.2.3-x86_64-unknown-linux.tar.xz -Source4: ghc-9.2.3-aarch64-unknown-linux.tar.xz +Source1: ghc-9.2.3-x86_64-unknown-linux.tar.xz +Source2: ghc-9.2.3-aarch64-unknown-linux.tar.xz BuildRequires: chrpath BuildRequires: fdupes @@ -29,7 +27,7 @@ Requires: libffi-devel Conflicts: ghc-base Provides: ghc-bootstrap-devel -ExclusiveArch: ppc64 ppc64le x86_64 aarch64 +ExclusiveArch: x86_64 aarch64 AutoReq: off %description @@ -45,17 +43,7 @@ Do not install this package! Install 'ghc' instead. cp %{SOURCE0} . cp %{SOURCE1} . cp %{SOURCE2} . -cp %{SOURCE3} . -cp %{SOURCE4} . -%ifarch ppc64 -%define longarch powerpc64 -%define arch ppc64 -%endif -%ifarch ppc64le -%define longarch powerpc64le -%define arch ppc64 -%endif %ifarch aarch64 %define longarch aarch64 %define arch aarch64 @@ -65,7 +53,7 @@ cp %{SOURCE4} . %define sysname unknown %define arch x86_64 %endif -%ifarch ppc64 ppc64le x86_64 aarch64 +%ifarch x86_64 aarch64 %define sysname unknown %endif |