Accepting request 293375 from devel:languages:haskell
1 OBS-URL: https://build.opensuse.org/request/show/293375 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-bootstrap?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eded2b5a9051d4dda50ef32e5731078674541320cdbd5c19885eb5eedf6ec12e
|
||||
size 214865920
|
||||
oid sha256:3df116adce17289d62cef233f4f3e97ccfde33478fffe80f7cd4ddbb6341e0d4
|
||||
size 375603200
|
||||
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 26 08:24:04 UTC 2015 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- use official tarballs for x86 and x86_64
|
||||
* fixes build on openSUSE 11.4 and SLE 11
|
||||
* bootstrap ghc is built against libgmp.so.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 22 07:43:07 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# spec file for package ghc-bootstrap
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011, 2012 Peter Trommler peter.trommler@ohm-hochschule.de
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 Peter Trommler peter.trommler@ohm-hochschule.de
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,6 +16,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%ifarch %{ix86}
|
||||
%define longarch i386
|
||||
%endif
|
||||
@@ -36,7 +37,6 @@
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
|
||||
Name: ghc-bootstrap
|
||||
Version: 7.6.3
|
||||
Release: 0
|
||||
@@ -47,13 +47,16 @@ Group: Development/Languages/Other
|
||||
Source: %{name}-%{version}.tar
|
||||
Source1: README.openSUSE
|
||||
Source2: LICENSE
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gmp-devel
|
||||
Requires: gmp-devel
|
||||
# Building binary distributions is currently broken for ppc64le
|
||||
# use package 'ghc-bin' to bootstrap ppc64le
|
||||
# this will be fixed in version 7.8.3 and later
|
||||
ExclusiveArch: %{ix86} ppc ppc64 x86_64
|
||||
Provides: ghc-compiler = %{version}
|
||||
Provides: ghc-array
|
||||
Provides: ghc-base
|
||||
Provides: ghc-compiler = %{version}
|
||||
Provides: ghc-containers
|
||||
Provides: ghc-deepseq
|
||||
Provides: ghc-directory
|
||||
@@ -126,7 +129,7 @@ language extensions, including concurrency, exceptions, and foreign
|
||||
language interfaces (C, C++, etc).
|
||||
|
||||
A wide variety of Haskell related resources (tutorials, libraries,
|
||||
specifications, documentation, compilers, interprbeters, references,
|
||||
specifications, documentation, compilers, interpreters, references,
|
||||
contact information, links to research groups) are available from the
|
||||
Haskell home page at <http://www.haskell.org/>.
|
||||
|
||||
@@ -137,13 +140,24 @@ cp %SOURCE1 .
|
||||
cp %SOURCE2 .
|
||||
|
||||
%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-%{version}-%{longarch}-unknown-linux.tar.bz2
|
||||
cd ghc-%{version}
|
||||
./configure --prefix=%{_prefix}
|
||||
|
||||
%install
|
||||
%if 0%{suse_version} > 1130
|
||||
export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
|
||||
%endif
|
||||
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
|
||||
|
||||
%post
|
||||
ghc-pkg recache
|
||||
@@ -155,5 +169,11 @@ ghc-pkg recache
|
||||
%{_bindir}/*
|
||||
%{_prefix}/lib/ghc-%{version}
|
||||
%{_datadir}/doc/*
|
||||
%if 0%{suse_version} > 1130
|
||||
%{_libdir}/libgmp.so.3
|
||||
%endif
|
||||
%ifarch %{ix86} x86_64
|
||||
%{_mandir}/man1/ghc.1*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user