summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmgagnome8
1 files changed, 4 insertions, 4 deletions
diff --git a/mgagnome b/mgagnome
index 619e759..622b1ab 100755
--- a/mgagnome
+++ b/mgagnome
@@ -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
#(