Hello community,

here is the log from the commit of package ghc for openSUSE:Factory checked in 
at 2020-06-05 20:18:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc (Old)
 and      /work/SRC/openSUSE:Factory/.ghc.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc"

Fri Jun  5 20:18:01 2020 rev:85 rq:811492 version:8.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc/ghc.changes  2020-05-11 13:37:28.952630673 
+0200
+++ /work/SRC/openSUSE:Factory/.ghc.new.3606/ghc.changes        2020-06-05 
20:24:15.104664405 +0200
@@ -1,0 +2,7 @@
+Sun May 31 18:47:18 UTC 2020 - Ondřej Súkup <[email protected]>
+
+- cleanup specfile from Leap 42 and older remrants
+- drop fix-unregisterised-v8.4-8.6.patch
+- drop fix-build-using-unregisterized-v8.4.patch 
+
+-------------------------------------------------------------------

Old:
----
  fix-build-using-unregisterized-v8.4.patch
  fix-unregisterised-v8.4-8.6.patch

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

Other differences:
------------------
++++++ ghc.spec ++++++
--- /var/tmp/diff_new_pack.9h7m56/_old  2020-06-05 20:24:17.488668659 +0200
+++ /var/tmp/diff_new_pack.9h7m56/_new  2020-06-05 20:24:17.488668659 +0200
@@ -16,10 +16,6 @@
 #
 
 
-%if 0%{?suse_version} == 1315 && !0%{?is_opensuse}
-%define without_manual 1
-%endif
-
 %ifnarch %{arm} s390x
 %define with_libnuma 1
 %else
@@ -40,8 +36,6 @@
 License:        BSD-3-Clause
 Group:          Development/Languages/Other
 ExclusiveArch:  aarch64 %{arm} %{ix86} x86_64 ppc64 ppc64le riscv64 s390x
-# hard to port to PIE, some prebuilt static libraries are non-PIC ...
-#!BuildIgnore:  gcc-PIE
 BuildRequires:  binutils-devel
 BuildRequires:  gcc
 BuildRequires:  ghc-bootstrap >= 8.6
@@ -50,17 +44,9 @@
 BuildRequires:  gmp-devel
 BuildRequires:  libdw-devel
 BuildRequires:  libelf-devel
-#Fix for openSUSE:Leap:42.1
-%if 0%{?suse_version} == 1315
-BuildRequires:  libffi48-devel
-%else
 BuildRequires:  libffi-devel
-%endif
 BuildRequires:  libtool
-# not resolvable on ppc
-%if 0%{?suse_version} >= 1500
 BuildRequires:  memory-constraints
-%endif
 BuildRequires:  ncurses-devel
 BuildRequires:  pkg-config
 BuildRequires:  xz
@@ -84,27 +70,16 @@
 BuildRequires:  libnuma-devel
 %endif
 
-# for patch 1
-# BuildRequires:  python3
 
-# bogus requires
-%ifarch x86_64
 BuildRequires:  ghc-bootstrap-helpers
-%else
-BuildRequires:  alex
-BuildRequires:  happy
-%endif
-
 PreReq:         update-alternatives
+
 Requires:       ghc-compiler = %{version}-%{release}
 Requires:       ghc-ghc-devel = %{version}-%{release}
 Requires:       ghc-libraries = %{version}-%{release}
+
 # PATCH-FIX-UPSTREAM Disable-unboxed-arrays.patch [email protected] -- Do 
not use unboxed arrays on big-endian platforms. See Haskell Trac #15411.
 Patch3:         Disable-unboxed-arrays.patch
-# PATCH-FIX-UPSTREAM fix-build-using-unregisterized-v8.4.patch
-Patch5:         fix-build-using-unregisterized-v8.4.patch
-# PATCH-FIX-UPSTREAM fix-unregisterised-v8.4-8.6.patch
-Patch6:         fix-unregisterised-v8.4-8.6.patch
 # PATCH-FIX-UPSTREAM ghc-pie.patch - set linux as default PIE platform
 Patch35:        ghc-pie.patch
 # PATCH-FIX-OPENSUSE ghc-8.0.2-Cabal-dynlibdir.patch -- Fix shared library 
directory location.
@@ -227,21 +202,14 @@
 
 %prep
 %setup -q
-#%%patch1 -p1
-#%%patch2 -p1
 %ifarch ppc64 s390 s390x
 %patch3 -p1
 %endif
-%patch5 -p1
-%patch6 -p1
 %patch35 -p1
 %patch100 -p1
 %patch110 -p1
 
 %build
-# patch 1 modifies build system, we need to recreate configure
-# ./boot
-
 cat > mk/build.mk <<EOF
 %ifarch aarch64 %{arm}
 BuildFlavour = perf-llvm
@@ -308,9 +276,6 @@
 
 
 %install
-%if 0%{?suse_version} <= 1320
-%ghc_suse_disable_debug_packages
-%endif
 %makeinstall
 
 for i in %{ghc_packages_list}; do
@@ -359,10 +324,6 @@
   touch %{buildroot}%{_sysconfdir}/alternatives/$i
 done
 
-%if 0%{?suse_version} <= 1320
-%ghc_strip_dynlinked
-%endif
-
 find %{buildroot}%{ghclibdocdir} -name LICENSE -exec rm '{}' ';'
 
 %check
@@ -480,11 +441,6 @@
 %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



Reply via email to