From c45c32724d3b60f6a9d391443a9c9ff205ae1eae Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 25 Jan 2023 11:13:23 +0800 Subject: [PATCH] testsuite failing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tests/Tests.hs:213:24: error: Not in scope: ‘T.parseTime’ Perhaps you meant ‘T.parseTimeM’ (imported from Data.Time.Format) Neither ‘System.Locale’, ‘Data.Time.Calendar’, ‘Data.Time.Clock’, ‘Data.Time.Clock.POSIX’ nor ‘Data.Time.Format’ exports ‘parseTime’. | 213 | md2 = T.parseTime T.defaultTimeLocale fmt "%F" | ^^^^^^^^^^^ --- ghc-hourglass.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-hourglass.spec b/ghc-hourglass.spec index 4f4459c..9e6f372 100644 --- a/ghc-hourglass.spec +++ b/ghc-hourglass.spec @@ -4,7 +4,8 @@ %global pkg_name hourglass %global pkgver %{pkg_name}-%{version} -%bcond_without tests +# https://github.com/vincenthz/hs-hourglass/issues/55 +%bcond_with tests Name: ghc-%{pkg_name} Version: 0.2.12