summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-30 12:13:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-30 12:13:04 +0000
commit235265cc1cb1c1a7492bb9eee5fe1491b7b6cb3c (patch)
treec38b2f27f9b1fa013ecab8eb1e70a61180759694
parenta54f82a7a690c85a8049333e2aed9c623e807784 (diff)
automatic import of ghc-bootstrap
-rw-r--r--ghc-bootstrap.spec20
-rw-r--r--sources4
2 files changed, 5 insertions, 19 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..adfdd6f 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
+5f93c324e146511f47cd324ccf7ec9f0 ghc-9.2.3-x86_64-unknown-linux.tar.xz