diff options
-rwxr-xr-x | mgagnome | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -532,13 +532,13 @@ class SpecFile(): ), ( 'change make macro to make_build', - r'%make_build', - re.compile(r'^%make\b', re.MULTILINE) + r'\g<keeppre>%make_build', + re.compile(r'^(?P<keeppre>[ \t]*)%make\b', re.MULTILINE) ), ( 'make_build already implies V=1 and VERBOSE=1, remove these', - r'%make_build', - re.compile(r'^%make_build(?:[ \t]+(?:V=1|VERBOSE=1))+\b', re.MULTILINE) + r'\g<keeppre>%make_build', + re.compile(r'^(?P<keeppre>[ \t]*)%make_build(?:[ \t]+(?:V=1|VERBOSE=1))+\b', re.MULTILINE) ), # Can have side-effects, disable for now #( |