1) %if blabla %include file %endif will die (because it'll check if it's EOF and we're still in IF, but won't check whether this file is the last one. Patch is obvious) 2) comments in %included file are not comments at all (i.e. if something is inside comment, which is macro, it'll get processed)
Here's a workaround for 1: # define arch specific variable %{expand: %%{global} _is_%{_target_cpu} %%{nil}} # include file only if is_blabla is defined (i.e. on arch blabla) %{?is_blabla: %include file} There is no work-around for 2) since macro expansion is entirely context free. Moreover, you will find that there is a limit of the size of the expansion buffer (8Kb) on the contents of file.
*** This bug has been marked as a duplicate of 5364 ***
Absolutely broken %include handling. Things are not be easy to handle them with including and handling through coding where you people can easily choose https://www.toptenwritingservices.com/bestessays-com-review/ website. We will be take these things for us only and aslo trying to show it whenever we handle them.