waveclaw / language-rpm-spec

Atom support for basic RPM specfiles
MIT License
3 stars 3 forks source link

%include recognised as variable instead of macro #12

Closed Keyhaku closed 8 years ago

Keyhaku commented 8 years ago

Hi,

The macro %include should be recognised as a valid macro not as a variable.

I know that this macro is not well documented, in official documentation you can find only one example here : http://rpm.org/wiki/PackagerDocs/RpmLua#Includingscripts But in rpmlist you can find some people discussing about it.

See ya

waveclaw commented 8 years ago

rpm --eval on the platforms I tested (SLES, SuSE, RHEL, CentOS) do not respond to %include as a macro, just as a variable.