Hello community,

here is the log from the commit of package ghc for openSUSE:Factory checked in 
at 2018-06-08 23:14:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc (Old)
 and      /work/SRC/openSUSE:Factory/.ghc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc"

Fri Jun  8 23:14:32 2018 rev:61 rq:614267 version:8.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc/ghc.changes  2018-06-05 12:53:25.976492251 
+0200
+++ /work/SRC/openSUSE:Factory/.ghc.new/ghc.changes     2018-06-08 
23:14:35.745948696 +0200
@@ -1,0 +2,15 @@
+Fri Jun  1 13:13:27 UTC 2018 - ptromm...@icloud.com
+
+- update to 8.4.3
+* code generation for UnboxedSum fixed
+* compatibility withe newer binutils (as)
+* Cabal issue with abi-depends fixed 
+
+-------------------------------------------------------------------
+Sun May 27 17:17:36 UTC 2018 - ptromm...@icloud.com
+
+- Fix build for older openSUSE
+- Don't do selfbootstrapping
+* Cuts down build time roughly in half 
+
+-------------------------------------------------------------------

Old:
----
  ghc-8.4.2-src.tar.xz

New:
----
  ghc-8.4.3-src.tar.xz

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

Other differences:
------------------
++++++ ghc.spec ++++++
--- /var/tmp/diff_new_pack.2tBaQZ/_old  2018-06-08 23:14:36.897907093 +0200
+++ /var/tmp/diff_new_pack.2tBaQZ/_new  2018-06-08 23:14:36.921906227 +0200
@@ -29,7 +29,7 @@
 %global unregisterised_archs s390 s390x
 
 Name:           ghc
-Version:        8.4.2
+Version:        8.4.3
 Release:        0
 Url:            
http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src.tar.xz
 Summary:        The Glorious Glasgow Haskell Compiler
@@ -60,7 +60,11 @@
 BuildRequires:  binutils-gold
 %endif
 %ifarch aarch64 %{arm} %{ix86} x86_64
+%if %{suse_version} >= 1500
 BuildRequires:  llvm5-devel
+%else
+BuildRequires:  llvm-devel
+%endif
 %endif
 %if %{undefined without_manual}
 BuildRequires:  python-sphinx
@@ -115,11 +119,10 @@
 Requires:       binutils-gold
 %endif
 %ifarch aarch64 %{arm} %{ix86} x86_64
-# Leap:15 + SLE15 now have wrong metapackage
-%if 0%{?suse_version} >= 1550 || 0%{?suse_version} == 1315
-Requires:       llvm
-%else
+%if 0%{?suse_version} >= 1500
 Requires:       llvm5
+%else
+Requires:       llvm
 %endif
 %endif
 
@@ -194,46 +197,6 @@
 # Probably fixed upstream
 
 %build
-# Check if bootstrap is required, i.e. version is different from ghc's version
-# Note: Cannot use ghc_version macro here as we defined version override 
earlier
-%if "%version" != "%(ghc --numeric-version)"
-%define ghc_boot 1
-cat > mk/build.mk <<EOF
-GhcLibWays = v %{!?ghc_without_shared:dyn}
-%if %{defined ghc_without_shared}
-DYNAMIC_BY_DEFAULT   = NO
-DYNAMIC_GHC_PROGRAMS = NO
-%endif
-%ifarch %{unregisterised_archs}
-GhcUnregisterised    = YES
-GhcWithNativeCodeGen = NO
-GhcWithInterpreter   = YES
-SRC_HC_OPTS          = -O -H64m
-GhcStage1HcOpts      = -O
-GhcStage2HcOpts      = -O
-GhcHcOpts            = -Rghc-timing
-GhcLibHcOpts         = -O
-SRC_HC_OPTS         += -optc-fno-builtin
-SRC_CC_OPTS         += -fno-builtin
-SRC_HC_OPTS         += -optc-Wno-return-type
-SRC_CC_OPTS         += -Wno-return-type
-%endif
-HADDOCK_DOCS         = NO
-BUILD_SPHINX_HTML    = NO
-BUILD_SPHINX_PS      = NO
-BUILD_SPHINX_PDF     = NO
-HSCOLOUR_SRCS        = NO
-EOF
-./configure --prefix=%{_builddir}/ghc-boot --with-system-libffi
-%ifnarch aarch64 %{arm} s390 s390x
-make %{?_smp_mflags}
-%else
-make -j 2
-%endif
-make install
-make clean
-%endif
-
 cat > mk/build.mk <<EOF
 %ifarch aarch64 %{arm}
 BuildFlavour = perf-llvm
@@ -341,7 +304,9 @@
   touch %{buildroot}%{_sysconfdir}/alternatives/$i
 done
 
+%if 0%{?suse_version} <= 1320
 %ghc_strip_dynlinked
+%endif
 
 find %{buildroot}%{ghclibdocdir} -name LICENSE -exec rm '{}' ';'
 
@@ -465,6 +430,11 @@
 %ghost %{ghcdocbasedir}/libraries/minus.gif
 %ghost %{ghcdocbasedir}/libraries/plus.gif
 %endif
+# With 1.7.4 of ghc-rpm-macros license files are installed here
+# but rpm does not own this directory on older openSUSE.
+%if 0%{?suse_version} <= 1320
+%dir %{_datadir}/licenses
+%endif
 
 %files libraries
 %license LICENSE

++++++ ghc-8.4.2-src.tar.xz -> ghc-8.4.3-src.tar.xz ++++++
/work/SRC/openSUSE:Factory/ghc/ghc-8.4.2-src.tar.xz 
/work/SRC/openSUSE:Factory/.ghc.new/ghc-8.4.3-src.tar.xz differ: char 26, line 1


Reply via email to