Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc for openSUSE:Factory checked in at 2025-12-05 16:56:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc (Old) and /work/SRC/openSUSE:Factory/.ghc.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc" Fri Dec 5 16:56:07 2025 rev:120 rq:1321200 version:9.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc/ghc.changes 2025-11-03 18:55:59.159774876 +0100 +++ /work/SRC/openSUSE:Factory/.ghc.new.1939/ghc.changes 2025-12-05 16:57:06.605572598 +0100 @@ -1,0 +2,8 @@ +Wed Dec 3 18:34:07 UTC 2025 - Ondřej Súkup <[email protected]> + +- remove 9_10_1-bootstrap-sources.tar.gz +- use hadrian as BuildRequires to remove hadrian bootstraping part + from ghc build itself +- use quick flavor on s390x + +------------------------------------------------------------------- @@ -4 +12 @@ -- use new bootsrap 9.10.1 compiler +- use new bootstrap 9.10.1 compiler Old: ---- 9_10_1-bootstrap-sources.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc.spec ++++++ --- /var/tmp/diff_new_pack.iTAlWW/_old 2025-12-05 16:57:09.613698363 +0100 +++ /var/tmp/diff_new_pack.iTAlWW/_new 2025-12-05 16:57:09.625698865 +0100 @@ -31,9 +31,6 @@ # bcond_without for production builds: use Hadrian buildsystem %bcond_without hadrian -# bcond_without for production builds: build hadrian -%bcond_without build_hadrian - # bcond_without for production builds: enable debuginfo %bcond_without ghc_debuginfo @@ -83,7 +80,6 @@ URL: https://www.haskell.org/ghc/ Source: https://downloads.haskell.org/~ghc/%{full_version}/ghc-%{version}-src.tar.xz Source2: ghc-rpmlintrc -Source4: 9_10_1-bootstrap-sources.tar.gz Source5: ghc-pkg.man Source6: haddock.man Source7: runghc.man @@ -103,6 +99,7 @@ BuildRequires: ghc-rpm-macros-extra => 2.9.1 BuildRequires: glibc-devel BuildRequires: gmp-devel +BuildRequires: hadrian BuildRequires: libelf-devel BuildRequires: libffi-devel BuildRequires: libtool @@ -314,11 +311,6 @@ rm libffi-tarballs/libffi-*.tar.gz %build -cp %{SOURCE4} ./ -hadrian/bootstrap/bootstrap.py --bootstrap-sources 9_10_1-bootstrap-sources.tar.gz - -%global hadrian _build/bin/hadrian - %ghc_set_gcc_flags export LANG=C.utf8 @@ -354,7 +346,17 @@ %global hadrian_workaround "stage1.*.ghc.*.opts += -finter-module-far-jumps" %endif -%{hadrian} %{?_smp_mflags} --flavour=%{?with_quickbuild:quick+no_profiled_libs}%{!?with_quickbuild:release%{!?with_ghc_prof:+no_profiled_libs}}%{?hadrian_llvm} %{hadrian_docs} %{?hadrian_workaround} binary-dist-dir --hash-unit-ids +%if %{with quickbuild} +%global hadrian_flavor quick+no_profiled_libs +%else +%ifarch s390x +%global hadrian_flavor quick +%else +%global hadrian_flavor release +%endif +%endif + +hadrian %{?_smp_mflags} --flavour=%{hadrian_flavor}%{!?with_ghc_prof:+no_profiled_libs}%{?hadrian_llvm} %{hadrian_docs} %{?hadrian_workaround} binary-dist-dir --hash-unit-ids %install
