summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-04-23 10:16:47 +0200
committerOlav Vitters <olav@vitters.nl>2020-04-23 10:16:47 +0200
commite0cc826936a732481293bd2b70fc7ee5bb9534a1 (patch)
tree6c88ce0c28ce678606d6b6e4a371fae893fac45e
parent6aaf2f5aa6e8f7eab1fc8ab94099a446baf035fa (diff)
downloadmgagnome-e0cc826936a732481293bd2b70fc7ee5bb9534a1.tar
mgagnome-e0cc826936a732481293bd2b70fc7ee5bb9534a1.tar.gz
mgagnome-e0cc826936a732481293bd2b70fc7ee5bb9534a1.tar.bz2
mgagnome-e0cc826936a732481293bd2b70fc7ee5bb9534a1.tar.xz
mgagnome-e0cc826936a732481293bd2b70fc7ee5bb9534a1.zip
remove python2 from spec cleanup
-rwxr-xr-xmgagnome6
1 files changed, 0 insertions, 6 deletions
diff --git a/mgagnome b/mgagnome
index 9973a86..924e31f 100755
--- a/mgagnome
+++ b/mgagnome
@@ -389,16 +389,10 @@ class SpecFile(object):
('change find_lang --with-help into --with-gnome', '\g<keeppre> --with-gnome\g<keeppost>', re.compile(r'^(?P<keeppre>\s*\%find_lang[^\\\n]+) --with-help(?P<keeppost>[^\\\n]*\n)', re.MULTILINE + re.IGNORECASE)),
('change find_lang remove duplicate with_gnome', None, re.compile(r'^(?P<keeppre>\%find_lang[^\\\n]+ --with-gnome) --with-gnome(?P<keeppost>[^\\\n]*\n)', re.MULTILINE + re.IGNORECASE)),
# Use new Python macros
- ('use new Python macros', r'%py2_build', re.compile(r'^%{__python} setup.py build$', re.MULTILINE)),
('use new Python macros', r'%py3_build', re.compile(r'^%{__python3} setup.py build$', re.MULTILINE)),
- ('use new Python macros', r'%py2_install', re.compile(r'^%{__python} setup.py install$', re.MULTILINE)),
('use new Python macros', r'%py3_install', re.compile(r'^%{__python3} setup.py install$', re.MULTILINE)),
- ('use new Python macros', r'%{python2_sitelib}', re.compile(r'^%{python_sitelib}', re.MULTILINE)),
- ('use new Python macros', r'%{python2_sitearch}', re.compile(r'^%{python_sitearch}', re.MULTILINE)),
-
- ('use new Python macros', r'%{python2_version}', re.compile(r'%{pyver}', re.MULTILINE)),
('use new Python macros', r'%{python3_version}', re.compile(r'%{py3ver}', re.MULTILINE)),
]
re_convert_br = [