I want to tryout ghc-6.12.1 on my system and have installed ghc-rpm-macros-0.3.0-1 on my system. Because I have trouble to compile my packages, I have try out the following command: $ rpm -q --eval '%{ghc_version}' and got the following output: error: Recursion depth(17) greater than max(16) 15< (empty) 14< (empty) 13< (empty) 12< (empty) 11< (empty) 10< (empty) 9< (empty) 8< (empty) 7< (empty) 6< (empty) 5< (empty) 4< (empty) 3< (empty) 2< (empty) 1< (empty) 0< (empty) If I type $ ghc --numeric-version I will get 6.12.1 which I expected for $ rpm -q --eval '%{ghc_version}' Best Regards: Jochen Schmitt
Thanks for the report - I have a fix that will be coming out in rawhide shortly now that cvs and koji are back after the move. :)
Please try 0.3.1 building now: http://koji.fedoraproject.org/koji/taskinfo?taskID=1874097
or better http://koji.fedoraproject.org/koji/buildinfo?buildID=147239
Though I think I need to warn and post to fedora-haskell-list that there will likely be some more adjustments to the macros and an update needed for cabal2spec for 6.12.1. So you may want to hold off testing a little longer if want something stable to work against, but early testing is welcome. :)