Bug 670553 - RPM erroneously runs macros in comments
Summary: RPM erroneously runs macros in comments
Keywords:
Status: CLOSED DUPLICATE of bug 594672
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-18 16:41 UTC by Susi Lehtola
Modified: 2011-01-19 13:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-19 13:46:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Susi Lehtola 2011-01-18 16:41:42 UTC
RPM erroneously executes macros in comments.

For instance, the following in %build

%build
# The configure script uses FCFLAGS instead of FFLAGS declared by the %configure macro.
export FCFLAGS="%{optflags} -ffree-form -ffree-line-length-none -I%{_fmoddir}"
%configure

will cause RPM to run %configure on the first line, before the FCFLAGS variable has been declared. It *really* should not do that.

Comment 1 Panu Matilainen 2011-01-19 13:46:46 UTC

*** This bug has been marked as a duplicate of bug 594672 ***


Note You need to log in before you can comment on or make changes to this bug.