Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gtk2hs-buildtools for openSUSE:Factory checked in at 2023-04-04 21:25:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gtk2hs-buildtools (Old) and /work/SRC/openSUSE:Factory/.gtk2hs-buildtools.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gtk2hs-buildtools" Tue Apr 4 21:25:13 2023 rev:2 rq:1076149 version:0.13.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/gtk2hs-buildtools/gtk2hs-buildtools.changes 2023-01-18 13:09:35.472391238 +0100 +++ /work/SRC/openSUSE:Factory/.gtk2hs-buildtools.new.19717/gtk2hs-buildtools.changes 2023-04-04 21:25:26.426902896 +0200 @@ -1,0 +2,11 @@ +Thu Mar 30 17:09:15 UTC 2023 - Peter Simons <psim...@suse.com> + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Wed Feb 1 16:26:01 UTC 2023 - Peter Simons <psim...@suse.com> + +- Apply "fix-ghc-9.4.x-build.patch" to fix builds that use this package for + building with ghc-9.4.x. See https://github.com/gtk2hs/gtk2hs/issues/323. + +------------------------------------------------------------------- New: ---- fix-ghc-9.4.x-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk2hs-buildtools.spec ++++++ --- /var/tmp/diff_new_pack.lxSrBw/_old 2023-04-04 21:25:26.878905461 +0200 +++ /var/tmp/diff_new_pack.lxSrBw/_new 2023-04-04 21:25:26.886905507 +0200 @@ -1,7 +1,7 @@ # # spec file for package gtk2hs-buildtools # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %global pkg_name gtk2hs-buildtools +%global pkgver %{pkg_name}-%{version} Name: %{pkg_name} Version: 0.13.8.3 Release: 0 @@ -24,17 +25,29 @@ License: GPL-2.0-only URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +Patch1: fix-ghc-9.4.x-build.patch BuildRequires: alex BuildRequires: chrpath BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-Cabal-prof BuildRequires: ghc-array-devel +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof BuildRequires: ghc-directory-devel +BuildRequires: ghc-directory-prof BuildRequires: ghc-filepath-devel +BuildRequires: ghc-filepath-prof BuildRequires: ghc-hashtables-devel +BuildRequires: ghc-hashtables-prof BuildRequires: ghc-pretty-devel +BuildRequires: ghc-pretty-prof BuildRequires: ghc-process-devel +BuildRequires: ghc-process-prof BuildRequires: ghc-random-devel +BuildRequires: ghc-random-prof BuildRequires: ghc-rpm-macros BuildRequires: happy ExcludeArch: %{ix86} @@ -64,8 +77,24 @@ %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + %prep -%autosetup +%autosetup -p1 %build %ghc_lib_build @@ -97,4 +126,9 @@ %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license COPYING + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog ++++++ fix-ghc-9.4.x-build.patch ++++++ diff --git a/src/Gtk2HsSetup.hs b/src/Gtk2HsSetup.hs index 598048f..b652b76 100644 --- a/src/Gtk2HsSetup.hs +++ b/src/Gtk2HsSetup.hs @@ -300,6 +300,7 @@ ourC2hs :: BuildInfo -> LocalBuildInfo -> PreProcessor ourC2hs bi lbi = PreProcessor { #endif platformIndependent = False, + ppOrdering = (\ _ _ ms -> return ms), runPreProcessor = runC2HS bi lbi }