diff --git a/rpm-specfile.js b/rpm-specfile.js index 6d5e5e6..7dc9d0f 100644 --- a/rpm-specfile.js +++ b/rpm-specfile.js @@ -35,8 +35,8 @@ function hljsDefineRpmSpecfile(hljs) { begin: /(%)(?:package|prep|generate_buildrequires|sourcelist|patchlist|build|description|install|verifyscript|clean|changelog|check|pre[a-z]*|post[a-z]*|trigger[a-z]*|files)/, }, { - className: "link", - begin: /(%)(if|ifarch|ifnarch|ifos|ifnos|elif|elifarch|elifos|else|endif)/, + className: "built_in", + begin: /(%)(if|ifarch|ifnarch|ifos|ifnos|elif|elifarch|elifos|else|endif|bcond_(with|without)|bcond|define|global)/, }, { className: "link",