From SpectLog
Jump to: navigation, search


RPM expands %configure even inside comments. This action expands environment variables like CFLAGS causing compilation to fail.



Comments can be placed in any section of the spec file. Note that macros are expanded everywhere, so that with multiline macros which would only have the first line commented also escape the percent (%) character:

# %%configure