summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-11-21 05:39:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-11-21 05:39:04 +0000
commit81d46020e28d25f97e4eb2317a82160f148aa0ab (patch)
tree4ec2f36739b01a62daecdb26e0dfebca3288fd7e
parent284cb28ddd12bbac07c9cc5d618b8c843e1f7f1a (diff)
automatic import of ghc-bootstrapopeneuler22.03_LTS_SP2
-rw-r--r--ghc-bootstrap.spec20
-rw-r--r--sources2
2 files changed, 4 insertions, 18 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
diff --git a/sources b/sources
index 768256d..b106df9 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,2 @@
92ef66d63e5a728524af27561ccfba27 ghc-9.2.3-aarch64-unknown-linux.tar.xz
-e58127be0f843ae44e6e3ccfad04d740 ghc-9.2.3-powerpc64-unknown-linux.tar.xz
-d2881076bda6e685578b2227dddec802 ghc-9.2.3-powerpc64le-unknown-linux.tar.xz
754d28e669df56f9ac125829de14c68c ghc-9.2.3-x86_64-unknown-linux.tar.xz