From c3a2db93d3163f0f6649fee5b41eca32921be050 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:14 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.9 --- xmonad.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xmonad.spec b/xmonad.spec index d7caf94..3baf70d 100644 --- a/xmonad.spec +++ b/xmonad.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name xmonad @@ -157,6 +157,7 @@ in a MATE session. %package -n ghc-%{name}-doc Summary: Haskell %{name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description -n ghc-%{name}-doc This package provides the Haskell %{name} library documentation. @@ -177,7 +178,6 @@ This package provides the Haskell %{name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -chmod a-x CHANGES.md README.md # End cabal-rpm setup cp -p %SOURCE4 . @@ -203,7 +203,9 @@ install -p -m 0644 -D %SOURCE7 %{buildroot}%{_datadir}/xmonad/xmonad.hs %check +%if %{with tests} %cabal_test +%endif %files