summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-05-01 14:21:35 +0200
committerOlav Vitters <olav@vitters.nl>2020-05-01 14:21:35 +0200
commit470a3d8ff63a357e2a39d017ab9ef9bb00397859 (patch)
tree1db5bbfa73542a201bdab6a215fcb7c0ffc3fcee
parentc0846cc62512f55ea39bdddd28327c352b7ddd0f (diff)
downloadmgagnome-470a3d8ff63a357e2a39d017ab9ef9bb00397859.tar
mgagnome-470a3d8ff63a357e2a39d017ab9ef9bb00397859.tar.gz
mgagnome-470a3d8ff63a357e2a39d017ab9ef9bb00397859.tar.bz2
mgagnome-470a3d8ff63a357e2a39d017ab9ef9bb00397859.tar.xz
mgagnome-470a3d8ff63a357e2a39d017ab9ef9bb00397859.zip
clean-spec: also change makeinstall_std macro to make_install
-rwxr-xr-xmgagnome5
1 files changed, 5 insertions, 0 deletions
diff --git a/mgagnome b/mgagnome
index 0759b9f..ad8227e 100755
--- a/mgagnome
+++ b/mgagnome
@@ -541,6 +541,11 @@ class SpecFile():
re.compile(r'^%make_build(?:[ \t]+(?:V=1|VERBOSE=1))+\b', re.MULTILINE)
),
(
+ 'change makeinstall_std macro to make_install',
+ r'%make_install',
+ re.compile(r'^%makeinstall_std\b', re.MULTILINE)
+ ),
+ (
'change find_lang --with-help into --with-gnome',
r'\g<keeppre> --with-gnome\g<keeppost>',
re.compile(r'^(?P<keeppre>\s*\%find_lang[^\\\n]+) --with-help(?P<keeppost>[^\\\n]*\n)',