osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-bootstrap revision:7, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap?expand=0&rev=67
This commit is contained in:
Peter Simons 2020-06-04 01:01:10 +00:00 committed by Git OBS Bridge
parent 73a819e9cb
commit c71aa1a02f
16 changed files with 67 additions and 61 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:138a81ec916912668d24f8c444a21327d17a4469487d80f7a85878dadce7a0c8
size 129565124

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4f0ca1fa23563c16cbcf2a244c8e0e146cd712af49264af383e7adc2bef4168
size 142578288

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74af326ca02c34e23978c9da455e4b35e8041960a6a4ebbba7cf4d763359b93a
size 87289948

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7b1e51fd02fec4ca8f657dda97476247292d7450d19505216b5bcf1c3470a8c
size 120594748

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff7c4c5011f6f7284a1bda4f51deb0b34afc9cd89cc001cf5935f4ba91af07cd
size 123090680

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85a2c84563a1e27567b56e54be10aa42570127b1a5fdf889a280a671b398ab59
size 150069944

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1500173924bd2f463c77096712a516396aa9512b5f7511b2ccab71a39f8b645
size 86007760

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f6cdb4637ba8a8269bf27139df9097b067edf293c177c6af373e5ba18aa1fe2
size 110699556

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cc4029fe5b73ade156e129b6ab9822014e8f98def61743d98cc472d99e0129f
size 117975700

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1cddb907393a669342b1a922dd16d505d9d93d50bd9433a54a8162f8701250dc
size 187048424

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30f1eb36c8fbee552c675f4f74214c30b3b2d6fc81f031299a491b71568368bc
size 110244532

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c32e1f5a261d986e344e186b32b4e000d209da042546c20dc8a59c3ccb6eee4c
size 110374344

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60c6f5ed44a1bf8cc47cc7599a9c95d9abafe3dfa26816075403a305c4b69f8f
size 128591024

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c419fd0aa9065fe4d2eb9a248e323860c696ddf3859749ca96a84938aee49107
size 184373828

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun May 31 20:51:10 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update most archs to 8.10.1
- clean-up spec
-------------------------------------------------------------------
Thu May 21 11:48:31 UTC 2020 - Peter Trommler <ptrommler@icloud.com>

View File

@ -50,58 +50,59 @@
%define sysname ibm
%endif
%ifarch x86_64
%define sysname deb8
%define sysname unknown
%endif
%ifarch %{ix86}
%define sysname deb9
%define sysname unknown
%endif
%ifarch ppc64 ppc64le %{arm} aarch64 riscv64
%define sysname unknown
%endif
Name: ghc-bootstrap
Version: 8.6.5
Release: 0
URL: https://build.opensuse.org/package/view_file/devel:languages:haskell:bootstrap
Summary: Binary distributions of The Glorious Glasgow Haskell Compiler
License: BSD-3-Clause
Group: Development/Languages/Other
URL: https://build.opensuse.org/package/view_file/devel:languages:haskell:bootstrap
Source1: README.openSUSE
Source2: LICENSE
Source10: ghc-8.6.5-i386-deb9-linux.tar.xz
Source12: ghc-8.6.5-powerpc64-unknown-linux.tar.xz
Source13: ghc-8.6.5-powerpc64le-unknown-linux.tar.xz
Source14: ghc-8.6.5-x86_64-deb8-linux.tar.xz
Source10: ghc-8.10.1-i386-unknown-linux.tar.xz
Source12: ghc-8.10.1-powerpc64-unknown-linux.tar.xz
Source13: ghc-8.10.1-powerpc64le-unknown-linux.tar.xz
Source14: ghc-8.10.1-x86_64-unknown-linux.tar.xz
Source16: ghc-8.6.5-s390x-ibm-linux.tar.xz
Source17: ghc-8.6.5-aarch64-unknown-linux.tar.xz
Source18: ghc-8.6.5-arm-unknown-linux.tar.xz
Source19: ghc-8.6.5-riscv64-unknown-linux.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source17: ghc-8.10.1-aarch64-unknown-linux.tar.xz
Source18: ghc-8.10.1-arm-unknown-linux.tar.xz
Source19: ghc-8.10.1-riscv64-unknown-linux.tar.xz
BuildRequires: fdupes
BuildRequires: gmp-devel
BuildRequires: libncurses5
BuildRequires: pkgconfig(libffi)
Requires: gmp-devel
Requires: libncurses5
Requires: pkgconfig(libffi)
# This package is not meant to be used outside OBS
Requires: this-is-only-for-build-envs
Provides: ghc-bootstrap-devel
ExclusiveArch: %{ix86} ppc64 ppc64le x86_64 s390x aarch64 %{arm} riscv64
AutoReq: off
%ifnarch s390 s390x
Version: 8.10.1
%else
Version: 8.6.5
%endif
%ifnarch %{arm} s390x
BuildRequires: libnuma-devel
%endif
%ifarch aarch64 %{arm}
BuildRequires: binutils-gold
Requires: binutils-gold
Requires: llvm9
%endif
%ifarch s390x riscv64
BuildRequires: libffi-devel
%endif
Requires: gmp-devel
Requires: libncurses5
%ifnarch %{arm} s390x
Requires: libnuma-devel
Requires: libffi-devel
%endif
# This package is not meant to be used outside OBS
Requires: this-is-only-for-build-envs
ExclusiveArch: %{ix86} ppc64 ppc64le x86_64 s390x aarch64 %{arm} riscv64
Provides: ghc-bootstrap-devel
AutoReq: off
%description
This package contains a binary distribution of "The Glorious Glasgow
@ -110,36 +111,35 @@ were produced.
Do not install this package! Install 'ghc' instead.
%prep
cp %SOURCE1 .
cp %SOURCE2 .
cp %SOURCE10 .
cp %SOURCE12 .
cp %SOURCE13 .
cp %SOURCE14 .
cp %SOURCE16 .
cp %SOURCE17 .
cp %SOURCE18 .
cp %SOURCE19 .
cp %{SOURCE1} .
cp %{SOURCE2} .
cp %{SOURCE10} .
cp %{SOURCE12} .
cp %{SOURCE13} .
cp %{SOURCE14} .
cp %{SOURCE16} .
cp %{SOURCE17} .
cp %{SOURCE18} .
cp %{SOURCE19} .
%build
tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz
cd ghc-%{version}
# FIXME: you should use the %%configure macro
./configure --prefix=/opt
%install
cd ghc-%{version}
%makeinstall
%make_install
%fdupes -s %{buildroot}
%post
/opt/bin/ghc-pkg recache
%files
%defattr(-,root,root,-)
%doc README.openSUSE
%doc LICENSE
%license LICENSE
/opt
%changelog