diff --git a/ghc-cryptonite.spec b/ghc-cryptonite.spec index ec0c948..306bb51 100644 --- a/ghc-cryptonite.spec +++ b/ghc-cryptonite.spec @@ -1,12 +1,10 @@ -# 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 cryptonite %global pkgver %{pkg_name}-%{version} -# https://github.com/feuerbach/tasty/issues/266 -# https://gitlab.haskell.org/ghc/ghc/issues/17744 -%bcond_with tests +%bcond_without tests Name: ghc-%{pkg_name} Version: 0.27 @@ -87,6 +85,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation # docs are arch dependent +Requires: ghc-filesystem Obsoletes: %{name}-devel-doc < %{version}-%{release} %description doc @@ -124,7 +123,9 @@ This package provides the Haskell %{pkg_name} profiling library. %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files