specfile
specfile copied to clipboard
Implement parsing of conditions
Statements such as %if
, %else
and %endif
are currently treated as regular section content.
That can cause issues, especially with conditions spanning across multiple sections - if a section is deleted, modified or moved, it can lead to syntax errors as the condition block could be broken apart.
Figure out how to deal with this.