aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-02-01 13:59:15 +0200
committerJani Välimaa <wally@mageia.org>2020-02-01 13:59:15 +0200
commite5a9ae31f0bc26ff649165f473b9ef315cdcde57 (patch)
treec745c5cb0d382029b62f752e084fc30c3a89fb96 /build.macros.in
parenta84e49ce5f7a499fd28696463cd77e947b3d4160 (diff)
downloadrpm-setup-e5a9ae31f0bc26ff649165f473b9ef315cdcde57.tar
rpm-setup-e5a9ae31f0bc26ff649165f473b9ef315cdcde57.tar.gz
rpm-setup-e5a9ae31f0bc26ff649165f473b9ef315cdcde57.tar.bz2
rpm-setup-e5a9ae31f0bc26ff649165f473b9ef315cdcde57.tar.xz
rpm-setup-e5a9ae31f0bc26ff649165f473b9ef315cdcde57.zip
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
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in11
1 files changed, 0 insertions, 11 deletions
diff --git a/build.macros.in b/build.macros.in
index f60d386..f1c158c 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -325,17 +325,6 @@ Provides: %{1} = %{?epoch:%epoch}%{?!epoch:0}:%{version}-%{release}
%_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
#