From eef765975cd637a2574b4b93969fdc8080bc9e7a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 30 Jan 2023 19:06:56 +0800 Subject: [PATCH] ghc_devel_prof deprecated --- ghc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc.spec b/ghc.spec index d9ca20d..ce0ddeb 100644 --- a/ghc.spec +++ b/ghc.spec @@ -626,11 +626,14 @@ echo "%%dir %{ghclibdir}" >> %{name}-base%{?_ghcdynlibdir:-devel}.files %ghc_gen_filelists rts %{rts_ver} %endif +# move to ghc-rpm-macro %define merge_filelist()\ cat %{name}-%1.files >> %{name}-%2.files\ cat %{name}-%1-devel.files >> %{name}-%2-devel.files\ -%if %{defined ghc_devel_prof}\ +%if %{with haddock}\ cat %{name}-%1-doc.files >> %{name}-%2-doc.files\ +%endif\ +%if %{with ghc_prof}\ cat %{name}-%1-prof.files >> %{name}-%2-prof.files\ %endif\ if [ "%1" != "rts" ]; then\