From aab6b017e42dac87a343a9aaf4521cea47e96107 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 1 Mar 2019 17:08:20 +0800 Subject: [PATCH] disable tests: githash TH failing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test/GitHashSpec.hs:13:18: error: • Exception when trying to run compile-time code: GHEGitRunException "." ["rev-parse","--show-toplevel"] git: readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory) Code: tGitInfoCwd • In the Template Haskell splice $$tGitInfoCwd In the expression: $$tGitInfoCwd In an equation for ‘gi’: gi = $$tGitInfoCwd | 13 | let gi = $$tGitInfoCwd | ^^^^^^^^^^^^^ --- ghc-optparse-simple.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-optparse-simple.spec b/ghc-optparse-simple.spec index 0fdf4bb..93b597e 100644 --- a/ghc-optparse-simple.spec +++ b/ghc-optparse-simple.spec @@ -7,7 +7,7 @@ %global githash githash-0.1.3.1 %global subpkgs %{githash} -%bcond_without tests +%bcond_with tests Name: ghc-%{pkg_name} Version: 0.1.1