Hello community, here is the log from the commit of package ghc-bootstrap for openSUSE:Factory checked in at 2018-05-30 11:53:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-bootstrap (Old) and /work/SRC/openSUSE:Factory/.ghc-bootstrap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-bootstrap" Wed May 30 11:53:28 2018 rev:9 rq:607759 version:8.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-bootstrap/ghc-bootstrap.changes 2018-02-09 15:48:29.445355652 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-bootstrap.new/ghc-bootstrap.changes 2018-05-30 12:24:38.131628866 +0200 @@ -1,0 +2,11 @@ +Sun Mar 18 10:11:25 UTC 2018 - ptromm...@icloud.com + +- update to 8.2.1 on all arches +* required to bootstrap ghc 8.2.1 +* drop support for ppc and s390 +* add support for arm7l +* add support for registerised LLVM backend on aarch64 +- update instructions to produce bindists +- remove libgmp hack, upstream bindists link against new libgmp + +------------------------------------------------------------------- Old: ---- ghc-7.8.3-i386-unknown-linux-centos65.tar.bz2 ghc-7.8.3-powerpc-unknown-linux.tar.bz2 ghc-7.8.3-powerpc64-unknown-linux.tar.bz2 ghc-7.8.3-powerpc64le-unknown-linux.tar.bz2 ghc-7.8.3-x86_64-unknown-linux-centos65.tar.bz2 ghc-7.8.4-aarch64-unknown-linux.tar.bz2 ghc-7.8.4-s390-ibm-linux.tar.bz2 ghc-7.8.4-s390x-ibm-linux.tar.bz2 ghc-bootstrap-7.8.3.tar New: ---- ghc-8.2.1-aarch64-deb8-linux.tar.xz ghc-8.2.1-armv7-deb8-linux.tar.xz ghc-8.2.1-i386-deb8-linux.tar.xz ghc-8.2.1-powerpc64-unknown-linux.tar.xz ghc-8.2.1-powerpc64le-unknown-linux.tar.xz ghc-8.2.1-s390x-ibm-linux.tar.xz ghc-8.2.1-x86_64-deb8-linux.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.96DRn4/_old 2018-05-30 12:24:55.903058283 +0200 +++ /var/tmp/diff_new_pack.96DRn4/_new 2018-05-30 12:24:55.907058154 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-bootstrap # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,6 @@ %ifarch %{ix86} %define longarch i386 -%define os_release -centos65 %endif %ifarch ppc %define longarch powerpc @@ -38,49 +37,51 @@ %ifarch aarch64 %define longarch aarch64 %endif +%ifarch %{arm} +%define longarch armv7 +%endif %ifarch x86_64 %define longarch x86_64 -%define os_release -centos65 -%endif -%ifarch aarch64 s390 s390x -%define xversion 7.8.4 -%else -%define xversion 7.8.3 %endif %ifarch s390 s390x %define sysname ibm %else +%ifarch x86_64 %{ix86} aarch64 %{arm} +%define sysname deb8 +%endif +%ifarch ppc64 ppc64le %define sysname unknown %endif - -%global without_hscolour 1 +%endif Name: ghc-bootstrap -Version: 7.8.3 +Version: 8.2.1 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 -Source: %{name}-%{version}.tar Source1: README.openSUSE Source2: LICENSE -Source10: ghc-7.8.3-i386-unknown-linux-centos65.tar.bz2 -Source11: ghc-7.8.3-powerpc-unknown-linux.tar.bz2 -Source12: ghc-7.8.3-powerpc64-unknown-linux.tar.bz2 -Source13: ghc-7.8.3-powerpc64le-unknown-linux.tar.bz2 -Source14: ghc-7.8.3-x86_64-unknown-linux-centos65.tar.bz2 -Source15: ghc-7.8.4-s390-ibm-linux.tar.bz2 -Source16: ghc-7.8.4-s390x-ibm-linux.tar.bz2 -Source17: ghc-7.8.4-aarch64-unknown-linux.tar.bz2 +Source10: ghc-8.2.1-i386-deb8-linux.tar.xz +Source12: ghc-8.2.1-powerpc64-unknown-linux.tar.xz +Source13: ghc-8.2.1-powerpc64le-unknown-linux.tar.xz +Source14: ghc-8.2.1-x86_64-deb8-linux.tar.xz +Source16: ghc-8.2.1-s390x-ibm-linux.tar.xz +Source17: ghc-8.2.1-aarch64-deb8-linux.tar.xz +Source18: ghc-8.2.1-armv7-deb8-linux.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: gmp-devel BuildRequires: libncurses5 -Requires: libncurses5 +%ifarch aarch64 %{arm} +BuildRequires: binutils-gold +Requires: binutils-gold +%endif Requires: gmp-devel +Requires: libncurses5 -ExclusiveArch: %{ix86} ppc ppc64 ppc64le x86_64 s390 s390x aarch64 +ExclusiveArch: %{ix86} ppc64 ppc64le x86_64 s390x aarch64 %{arm} Provides: ghc-bootstrap-devel Conflicts: ghc @@ -138,37 +139,24 @@ %prep -%setup -q cp %SOURCE1 . cp %SOURCE2 . cp %SOURCE10 . -cp %SOURCE11 . cp %SOURCE12 . cp %SOURCE13 . cp %SOURCE14 . -cp %SOURCE15 . cp %SOURCE16 . cp %SOURCE17 . +cp %SOURCE18 . %build -%if 0%{suse_version} > 1130 -ln -s %{_libdir}/libgmp.so.10 libgmp.so.3 -export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH -%endif -tar jxf ghc-%{xversion}-%{longarch}-%{sysname}-linux%{?os_release}.tar.bz2 -cd ghc-%{xversion} +tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz +cd ghc-%{version} ./configure --prefix=%{_prefix} %install -%if 0%{suse_version} > 1130 -export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH -%endif -cd ghc-%{xversion} +cd ghc-%{version} %makeinstall -%if 0%{suse_version} > 1130 -install -dm 0755 %{buildroot}%{_libdir} -ln -s %{_libdir}/libgmp.so.10 %{buildroot}%{_libdir}/libgmp.so.3 -%endif %fdupes -s %{buildroot} %post @@ -179,13 +167,10 @@ %doc README.openSUSE %doc LICENSE %{_bindir}/* -%{_prefix}/lib/ghc-%{xversion} +%{_prefix}/lib/ghc-%{version} %{_datadir}/doc/* -%if 0%{suse_version} > 1130 -%{_libdir}/libgmp.so.3 -%endif -# for some reason there is no manpage for ghc in the x86_64 tarball -%ifarch %{ix86} + +%ifarch %{ix86} x86_64 aarch64 %{arm} %{_mandir}/man1/ghc.1* %endif ++++++ README.openSUSE ++++++ --- /var/tmp/diff_new_pack.96DRn4/_old 2018-05-30 12:24:55.971056088 +0200 +++ /var/tmp/diff_new_pack.96DRn4/_new 2018-05-30 12:24:55.971056088 +0200 @@ -2,16 +2,16 @@ ============================================================ 1. Download source distribution from http://www.haskell.org/ghc/download -2. Apply patches for openSUSE +2. If necessary, apply patches for openSUSE * https://build.opensuse.org/package/show/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions 3. Build binary distribution `make binary-dist` 4. Download rpms from: - * https://build.opensuse.org/package/binaries/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions?repository=openSUSE_Factory * https://build.opensuse.org/package/binaries/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions?repository=openSUSE_Factory_PowerPC_standard + * https://build.opensuse.org/package/binaries/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions?repository=openSUSE_Factory_zSystems 5. Extract tarball `rpm2cpio ghc-prepare-binary-distributions*.rpm | cpio -idmv` 6. Copy tarball to project devel:languages:haskell:compiler/ghc-bootstrap Note: ===== -The ix86 and x86_64 tarballs were taken from upstream. -https://www.haskell.org/ghc/download_ghc_7_8_3 +The armv7, aarch64, i386, and x86_64 tarballs were taken from upstream. +See: https://www.haskell.org/ghc/download_ghc_8_2_1.html