Ticket #4037: 0001-Add-new-scriptlets-to-spec.syntax.patch

File 0001-Add-new-scriptlets-to-spec.syntax.patch, 955 bytes (added by sbrabec, 8 weeks ago)
  • misc/syntax/spec.syntax

    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 
    5555    keyword whole linestart %pre red 
    5656    keyword whole linestart %prep red 
    5757    keyword whole linestart %preun red 
     58    keyword whole linestart %pretrans red 
     59    keyword whole linestart %posttrans red 
     60    keyword whole linestart %verifyscript red 
    5861 
    5962    keyword whole %define brightmagenta 
    6063    keyword whole %dump brightmagenta