Description of problem: As described in https://bugzilla.redhat.com/show_bug.cgi?id=738525#c2, here is what I get when I run: $ cpanspec ExtUtils::H2PM [... snip ...] %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" [... snip ...] $ cpanspec -m ExtUtils::H2PM [... snip ...] %{__perl} Build.PL installdirs=vendor optimize="%{optimize}" [... snip ...] However: $ rpm --eval "%{optimize}" %{optimize} So why is cpanspec writing %{optimize} in the generated spec file? Shouldn't it use %{optflags} instead? Version-Release number of selected component (if applicable): cpanspec-1.78-9.fc16.noarch How reproducible: Always.
That is fixed in the current git tree, which I'll be releasing as an update soon. For now, see https://github.com/silug/cpanspec
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
(In reply to comment #1) > That is fixed in the current git tree, which I'll be releasing as an update > soon. > > For now, see https://github.com/silug/cpanspec Let me mark this as still not fixed in Fedora 18 -- the http://koji.fedoraproject.org/koji/packageinfo?packageID=1525 shows that there is no 1.79 build in the queue.
This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
With cpanspec-1.78-15.fc20.noarch, the behaviour is the same as described in comment 0 and my observation from comment 3 still holds.
I'll push the upstream commit b0bdaf23 to Fedora.
cpanspec-1.78-18.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/cpanspec-1.78-18.fc21
cpanspec-1.78-18.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/cpanspec-1.78-18.fc20
cpanspec-1.78-18.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/cpanspec-1.78-18.fc19
cpanspec-1.78-18.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
cpanspec-1.78-18.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
cpanspec-1.78-18.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.