Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc for openSUSE:Factory checked in at 2023-05-04 17:09:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc (Old) and /work/SRC/openSUSE:Factory/.ghc.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc" Thu May 4 17:09:59 2023 rev:101 rq:1084245 version:9.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc/ghc.changes 2023-04-22 22:03:49.290422124 +0200 +++ /work/SRC/openSUSE:Factory/.ghc.new.1533/ghc.changes 2023-05-04 17:10:09.044216078 +0200 @@ -1,0 +2,7 @@ +Fri Apr 21 17:57:46 UTC 2023 - Andreas Schwab <sch...@suse.de> + +- libatomic.patch: Remove obsolete patch +- Don't enable unregisterised on riscv64 +- Adjust constraints + +------------------------------------------------------------------- Old: ---- libatomic.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc.spec ++++++ --- /var/tmp/diff_new_pack.Eg9WNN/_old 2023-05-04 17:10:09.840220739 +0200 +++ /var/tmp/diff_new_pack.Eg9WNN/_new 2023-05-04 17:10:09.848220785 +0200 @@ -24,9 +24,6 @@ %else %define with_libnuma 0 %endif -%ifarch riscv64 -%global unregisterised_archs riscv64 -%endif # Keep in sync with ghc-bootstrap.spec %if 0%{?suse_version} > 1550 %global llvm_major 14 @@ -77,8 +74,8 @@ %{?with_haddock:%bcond_without manual} %endif -%global ghc_llvm_archs s390x -%global ghc_unregisterized_arches riscv64 +%global ghc_llvm_archs s390x riscv64 +%global ghc_unregisterized_arches noarch %global base_ver 4.17.1.0 %global ghc_compact_ver 0.1.0.0 @@ -110,7 +107,6 @@ Patch8: fix_extlinks.patch # PATCH-FIX-UPSTREAM ghc-pie.patch - set linux as default PIE platform Patch35: ghc-pie.patch -Patch120: libatomic.patch Patch200: ghc-hadrian-s390x-rts--qg.patch BuildRequires: binutils-devel BuildRequires: gcc-PIE @@ -125,9 +121,9 @@ BuildRequires: libffi-devel BuildRequires: libtool %ifarch s390x riscv64 +BuildRequires: clang%{llvm_major} BuildRequires: llvm%{llvm_major} BuildRequires: llvm%{llvm_major}-devel -BuildRequires: clang%{llvm_major} %endif BuildRequires: memory-constraints BuildRequires: ncurses-devel @@ -184,9 +180,9 @@ %package compiler Summary: GHC compiler and utilities License: BSD-3-Clause +Requires: %{name}-filesystem = %{version}-%{release} Requires: gcc Requires: ghc-base-devel = %{base_ver}-%{release} -Requires: %{name}-filesystem = %{version}-%{release} Provides: hsc2hs-%{hsc2hs_ver}-%{release} %ifarch riscv64 s390x Requires: clang%{llvm_major} @@ -228,7 +224,6 @@ Haskell libraries documentation. %endif - %if %{with manual} %package manual Summary: GHC manual @@ -240,7 +235,6 @@ This package provides the User Guide and Haddock manual. %endif - %global ghc_version_override %{version} %global ghc_pkg_c_deps ghc-compiler = %{ghc_version_override}-%{release} %global version %{ghc_version_override} @@ -317,7 +311,6 @@ %patch3 -p1 %endif %patch35 -p1 -%patch120 -p1 %ifarch ppc64 ppc64le s390x riscv64 %patch200 -p1 %endif @@ -339,7 +332,6 @@ python3 boot.source --hadrian - ./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \ --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \ @@ -354,13 +346,11 @@ %undefine _ghcdynlibdir - %ifarch %{ghc_llvm_archs} %global hadrian_llvm +llvm %endif %define hadrian_docs %{!?with_haddock:--docs=no-haddocks} %{!?with_manual:--docs=no-sphinx}%{?with_manual:--docs=no-sphinx-pdfs --docs=no-sphinx-man} - %if 0%{?suse_version} >= 1500 %ifarch %{unregisterised_archs} riscv64 %if 0%{?qemu_user_space_build} @@ -376,7 +366,6 @@ %{hadrian} -j1 --flavour=%{?with_quickbuild:quick+no_profiled_libs}%{!?with_quickbuild:perf%{!?with_ghc_prof:+no_profiled_libs}}%{?hadrian_llvm} %{hadrian_docs} binary-dist-dir %endif - %install ( @@ -391,8 +380,6 @@ chrpath -d $i done - - # containers src moved to a subdir cp -p libraries/containers/containers/LICENSE libraries/containers/LICENSE # hack for Cabal-syntax/LICENSE @@ -543,7 +530,6 @@ $GHC --info - %post base -p /sbin/ldconfig %postun base -p /sbin/ldconfig ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.Eg9WNN/_old 2023-05-04 17:10:09.892221043 +0200 +++ /var/tmp/diff_new_pack.Eg9WNN/_new 2023-05-04 17:10:09.896221067 +0200 @@ -23,9 +23,12 @@ <arch>riscv64</arch> </conditions> <hardware> - <physicalmemory> - <size unit="G">32</size> - </physicalmemory> + <memory> + <size unit="G">26</size> + </memory> + <disk> + <size unit="G">25</size> + </disk> </hardware> </overwrite> </constraints>