Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Surprising value for --optimize in generated spec file
https://bugzilla.redhat.com/show_bug.cgi?id=739461
Summary: Surprising value for --optimize in generated spec file Product: Fedora Version: 16 Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: cpanspec AssignedTo: steve@silug.org ReportedBy: bochecha@fedoraproject.org QAContact: extras-qa@fedoraproject.org CC: steve@silug.org, fedora-perl-devel-list@redhat.com Classification: Fedora Story Points: --- Type: ---
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.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #1 from Steven Pritchard steve@silug.org 2011-09-19 13:02:40 EDT --- 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
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #2 from Fedora End Of Life endoflife@fedoraproject.org --- 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
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=739461
Jan Pazdziora jpazdziora@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jpazdziora@redhat.com Version|16 |18
--- Comment #3 from Jan Pazdziora jpazdziora@redhat.com --- (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.
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #4 from Fedora End Of Life endoflife@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=739461
Jan Pazdziora jpazdziora@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|18 |20
--- Comment #5 from Jan Pazdziora jpazdziora@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=739461
Petr Šabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |psabata@redhat.com Assignee|steve@silug.org |psabata@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #6 from Petr Šabata psabata@redhat.com --- I'll push the upstream commit b0bdaf23 to Fedora.
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- cpanspec-1.78-18.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/cpanspec-1.78-18.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- cpanspec-1.78-18.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/cpanspec-1.78-18.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- cpanspec-1.78-18.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/cpanspec-1.78-18.fc19
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=739461
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=739461
Petr Šabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Fixed In Version| |cpanspec-1.78-18.fc19 Resolution|--- |CURRENTRELEASE Last Closed| |2015-02-23 10:54:55
perl-devel@lists.fedoraproject.org