From 84526b2fab3471070326993093d6f1a83b42ee62 Mon Sep 17 00:00:00 2001
From: Jens Petersen <petersen@redhat.com>
Date: Thu, 8 Jul 2021 00:30:14 +0800
Subject: [PATCH] refresh to cabal-rpm-2.0.9

---
 ghc-utf8-string.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ghc-utf8-string.spec b/ghc-utf8-string.spec
index bf1a33f..65082b7 100644
--- a/ghc-utf8-string.spec
+++ b/ghc-utf8-string.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 utf8-string
@@ -50,6 +50,7 @@ This package provides the Haskell %{pkg_name} library development 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.
@@ -86,7 +87,9 @@ This package provides the Haskell %{pkg_name} profiling library.
 
 
 %check
+%if %{with tests}
 %cabal_test
+%endif
 
 
 %files -f %{name}.files