|
![](https://seccdn.libravatar.org/avatar/fe11cff032b4e7558bdfe5f7f1b6fa3166a00faecacd35fbef2218e0463b5f3f?s=16&d=retro) |
a3483f9 |
%__python3 /usr/bin/python3
|
|
![](https://seccdn.libravatar.org/avatar/fe11cff032b4e7558bdfe5f7f1b6fa3166a00faecacd35fbef2218e0463b5f3f?s=16&d=retro) |
a3483f9 |
%python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
|
|
![](https://seccdn.libravatar.org/avatar/fe11cff032b4e7558bdfe5f7f1b6fa3166a00faecacd35fbef2218e0463b5f3f?s=16&d=retro) |
a3483f9 |
%python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
|
![](https://seccdn.libravatar.org/avatar/fe11cff032b4e7558bdfe5f7f1b6fa3166a00faecacd35fbef2218e0463b5f3f?s=16&d=retro) |
65e90f6 |
%python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
c21eb4a |
%python3_version_nodots %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3].replace('.',''))")
|
|
![](https://seccdn.libravatar.org/avatar/fe11cff032b4e7558bdfe5f7f1b6fa3166a00faecacd35fbef2218e0463b5f3f?s=16&d=retro) |
d5d2307 |
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}
|
|
Thomas Spura |
2d6789b |
|
|
Thomas Spura |
2d6789b |
%py3_shbang_opts -s
|
|
Thomas Spura |
2d6789b |
|
|
Thomas Spura |
2d6789b |
%py3_build() %{expand:\
|
|
Thomas Spura |
2d6789b |
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} build --executable="%{__python3} %{py3_shbang_opts}" %{?1}\
|
|
Thomas Spura |
2d6789b |
}
|
|
Thomas Spura |
2d6789b |
|
|
Thomas Spura |
2d6789b |
%py3_install() %{expand:\
|
|
Thomas Spura |
2d6789b |
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?1}\
|
|
Thomas Spura |
2d6789b |
}
|