We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e9f2f3 commit 14fefdbCopy full SHA for 14fefdb
package/python-kiwi-spec-template
@@ -29,8 +29,12 @@
29
%endif
30
31
%if %{undefined python3_sitelib}
32
+%if "%{_vendor}" == "debbuild"
33
+%global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
34
+%else
35
%global python3_sitelib %(%{__python3} -c "import sysconfig; print(sysconfig.get_path('platlib'))")
36
37
+%endif
38
39
%if %{undefined python3_version}
40
%global python3_version %(%{__python3} -Esc "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))")
0 commit comments