Hello community,

here is the log from the commit of package ghc-bootstrap for openSUSE:Factory 
checked in at 2015-04-02 16:02:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-bootstrap (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-bootstrap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-bootstrap"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-bootstrap/ghc-bootstrap.changes      
2014-09-22 18:50:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-bootstrap.new/ghc-bootstrap.changes 
2015-04-02 16:03:04.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Mar 26 08:24:04 UTC 2015 - [email protected]
+
+- 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 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.Mfv1Fl/_old  2015-04-02 16:03:08.000000000 +0200
+++ /var/tmp/diff_new_pack.Mfv1Fl/_new  2015-04-02 16:03:08.000000000 +0200
@@ -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 [email protected]
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 Peter Trommler [email protected]
 #
 # 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 @@
 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 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 %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 @@
 %{_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

++++++ ghc-bootstrap-7.6.3.tar ++++++
Files /var/tmp/diff_new_pack.Mfv1Fl/_old and /var/tmp/diff_new_pack.Mfv1Fl/_new 
differ


Reply via email to