From 5dbe16a50886f8f6e894ee565b0ad084fe4c149a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:10 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.9 --- ghc-cryptonite.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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