Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: %{ghc_version} desn't expand properly
https://bugzilla.redhat.com/show_bug.cgi?id=547867
Summary: %{ghc_version} desn't expand properly Product: Fedora Version: 11 Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: high Component: ghc-rpm-macros AssignedTo: loupgaroublond@gmail.com ReportedBy: jochen@herr-schmitt.de QAContact: extras-qa@fedoraproject.org CC: petersen@redhat.com, loupgaroublond@gmail.com, fedora-haskell-list@redhat.com Classification: Fedora
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