From 237337a6c6b3299bc6a437446c7f17136fc67ffa Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Apr 2013 16:08:41 +0900 Subject: [PATCH] fix %cabal -no-user-package-conf error in last commit ghc takes "-no-user-package-db" vs ghc-pkg's "--no-user-package-db" --- ghc-rpm-macros.ghc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-rpm-macros.ghc b/ghc-rpm-macros.ghc index 510e9de..02e42c1 100644 --- a/ghc-rpm-macros.ghc +++ b/ghc-rpm-macros.ghc @@ -2,7 +2,7 @@ # see https://fedoraproject.org/wiki/Packaging:Haskell for more details # "cabal" -%cabal [ -x Setup ] || ghc --make %{!?ghc_user_conf:--no-user-package-db} %{!?ghc_without_dynamic:-dynamic} Setup\ +%cabal [ -x Setup ] || ghc --make %{!?ghc_user_conf:-no-user-package-db} %{!?ghc_without_dynamic:-dynamic} Setup\ ./Setup # check ghc version was rebuilt against self