From e5a9ae31f0bc26ff649165f473b9ef315cdcde57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sat, 1 Feb 2020 13:59:15 +0200 Subject: build.macros: drop old python py_* compatibility macros All .specs in SVN were cleaned from usage of: %py_platlibdir %py_purelibdir %py_platsitedir %py_puresitedir --- build.macros.in | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/build.macros.in b/build.macros.in index f60d386..f1c158c 100644 --- a/build.macros.in +++ b/build.macros.in @@ -324,17 +324,6 @@ Provides: %{1} = %{?epoch:%epoch}%{?!epoch:0}:%{version}-%{release} %_with() %{expand: %%{?_with_%1:1} %%{!?_with_%1: %%{?_without_%1:0} %%{!?_without_%1: %%{?with_%1:%%{with_%1}} %%{!?with_%1: %%{?without_%1:!%%{without_%1}} %%{!?without_%1: %%{?2:%%2} %%{!?2:1} } } } } } %_without() !%{expand: %%{with %1 %{?2:%2}}} -#------------------------------------------------------------------------------ -# Python specific macros - -# More Python specific macro definitions (originally from PLD). -# -# backward compatibility -%py_platlibdir %(python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1,plat_specific=1)' 2>/dev/null || echo PYTHON-LIBDIR-NOT-FOUND) -%py_purelibdir %(python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(standard_lib=1,plat_specific=0)' 2>/dev/null || echo PYTHON-LIBDIR-NOT-FOUND) -%py_platsitedir %(python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1)' 2>/dev/null || echo PYTHON-LIBDIR-NOT-FOUND) -%py_puresitedir %(python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()' 2>/dev/null || echo PYTHON-LIBDIR-NOT-FOUND) - #------------------------------------------------------------------------------ # Java Macros # -- cgit v1.2.1