Description of problem: dragonegg installation fails due to bad requires Version-Release number of selected component (if applicable): 3.1.9 How reproducible: Steps to Reproduce: 1. yum install dragonegg # on fedora 18 branched Actual results: fails to install, error message: "requires : g Expected results: dragonegg should install nicely Additional info: It seems that the macros gcc_ver fails to expand properly http://pkgs.fedoraproject.org/cgit/dragonegg.git/tree/dragonegg.spec#n41 http://kojipkgs.fedoraproject.org//packages/dragonegg/3.1/9.fc18/data/logs/i686/build.log
After a discussion on irc, it might be due to missing BR at the moment where the macro is evaluated. Since %global is evaluated at startup, you should try forcing lazy evaluation: For instance: %global gcc_vr %%(gcc --version | python -c "import re; import sys; print(re.match(r'.*\\(Red Hat (.+)\\).*', sys.stdin.read()).group(1))")%{gcc_dist} http://osdir.com/ml/fedora-packaging/2011-08/msg00018.html Using %define would definitively work.
dragonegg-3.1-10.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/dragonegg-3.1-10.fc18
Package dragonegg-3.1-10.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dragonegg-3.1-10.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18877/dragonegg-3.1-10.fc18 then log in and leave karma (feedback).
dragonegg-3.1-10.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.