From e0cc826936a732481293bd2b70fc7ee5bb9534a1 Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Thu, 23 Apr 2020 10:16:47 +0200 Subject: remove python2 from spec cleanup --- mgagnome | 6 ------ 1 file changed, 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 --with-gnome\g', re.compile(r'^(?P\s*\%find_lang[^\\\n]+) --with-help(?P[^\\\n]*\n)', re.MULTILINE + re.IGNORECASE)), ('change find_lang remove duplicate with_gnome', None, re.compile(r'^(?P\%find_lang[^\\\n]+ --with-gnome) --with-gnome(?P[^\\\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 = [ -- cgit v1.2.1