File project.diff of Package ghc-hslogger
--- ghc-hslogger.changes.orig
+++ ghc-hslogger.changes
@@ -1,4 +1,14 @@
-------------------------------------------------------------------
+Fri Aug 11 08:58:38 UTC 2023 - Martin Wilck <mwilck@suse.com>
+
+- Add -doc and -prof subpackages.
+
+-------------------------------------------------------------------
+Fri Aug 11 08:02:59 UTC 2023 - Martin Wilck <mwilck@suse.com>
+
+- Added -prof dependencies, build fails without them.
+
+-------------------------------------------------------------------
Mon Aug 15 07:24:14 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hslogger to version 1.3.1.0 revision 6.
--- ghc-hslogger.spec.orig
+++ ghc-hslogger.spec
@@ -36,6 +36,14 @@ BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-devel
+BuildRequires: ghc-base-prof
+BuildRequires: ghc-deepseq-prof
+BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-containers-prof
+BuildRequires: ghc-time-prof
+BuildRequires: ghc-unix-prof
+BuildRequires: ghc-network-prof
+BuildRequires: ghc-network-bsd-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-HUnit-devel
@@ -60,6 +68,22 @@ Requires(postun): ghc-compiler = %{ghc_v
%description devel
This package provides the Haskell %{pkg_name} library development files.
+%package doc
+Summary: Haskell %{pkg_name} library documentation
+Requires: ghc-filesystem
+BuildArch: noarch
+
+%description doc
+This package provides the Haskell %{pkg_name} library documentation.
+
+%package prof
+Summary: Haskell %{pkg_name} profiling library
+Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
+Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
+
+%description prof
+This package provides the Haskell %{pkg_name} profiling library.
+<
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
@@ -85,4 +109,10 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%files devel -f %{name}-devel.files
%doc CHANGELOG.md
+%files prof -f %{name}-prof.files
+%doc CHANGELOG.md
+
+%files doc -f %{name}-doc.files
+%doc CHANGELOG.md
+
%changelog