diff --git a/ghc-th-lift-instances.spec b/ghc-th-lift-instances.spec index 9169a8f..2ff8e76 100644 --- a/ghc-th-lift-instances.spec +++ b/ghc-th-lift-instances.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 th-lift-instances @@ -64,6 +64,7 @@ files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -84,7 +85,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -chmod a-x README.md # End cabal-rpm setup @@ -101,7 +101,9 @@ chmod a-x README.md %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files