From ae6e2e2d089e8ab82bc817058471dfe6cffc726a Mon Sep 17 00:00:00 2001
From: Stanislav Brabec <sbrabec@suse.cz>
Date: Wed, 27 Nov 2019 20:53:44 +0100
Subject: [PATCH] Add new scriptlets to spec.syntax
Add scriptlets %pretrans, %posttrans and %verifyscript to the spec file syntax.
Ticket #4037.
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
---
misc/syntax/spec.syntax | 3 +++
1 file changed, 3 insertions(+)
diff --git a/misc/syntax/spec.syntax b/misc/syntax/spec.syntax
index 836c12d88..a9e13bb4a 100644
a
|
b
|
context default |
55 | 55 | keyword whole linestart %pre red |
56 | 56 | keyword whole linestart %prep red |
57 | 57 | keyword whole linestart %preun red |
| 58 | keyword whole linestart %pretrans red |
| 59 | keyword whole linestart %posttrans red |
| 60 | keyword whole linestart %verifyscript red |
58 | 61 | |
59 | 62 | keyword whole %define brightmagenta |
60 | 63 | keyword whole %dump brightmagenta |