PATH:
usr
/
lib
/
rpm
/
macros.d
%__alt_python311 /opt/alt/python311/bin/python3 %alt_python311_sitelib %(%{__alt_python311} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())") %alt_python311_sitearch %(%{__alt_python311} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib(True))") %alt_python311_version %(%{__alt_python311} -Ic "import sys; sys.stdout.write(sys.version[:3])") %alt_python311_version_nodots %(%{__alt_python311} -Ic "import sys; sys.stdout.write(sys.version[:3].replace('.',''))") %alt_py311dir %{_builddir}/python3-%{name}-%{version}-%{release} %alt_python311_dir /opt/alt/python311 %py_setup setup.py %alt_py311_shbang_opts -s %alt_py311_shbang_opts_nodash %(opts=%{alt_py311_shbang_opts}; echo ${opts#-}) # Use the slashes after expand so that the command starts on the same line as # the macro %alt_py311_build() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__alt_python311} %{py_setup} %{?py_setup_args} build --executable="%{__alt_python311} %{alt_py311_shbang_opts}" %{?*} } %alt_py311_build_egg() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__alt_python311} %{py_setup} %{?py_setup_args} bdist_egg %{?*} } %alt_py311_build_wheel() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__alt_python311} %{py_setup} %{?py_setup_args} bdist_wheel %{?*} } %alt_py311_install() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__alt_python311} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?*} } %alt_py311_install_egg() %{expand:\\\ mkdir -p %{buildroot}%{alt_python311_sitelib} %{alt_python311_dir}/bin/easy_install-3.11 -m --prefix %{buildroot}%{_prefix} -Z dist/*-py3.11.egg %{?*} %{alt_python311_dir}/bin/easy_install-3.11 %{alt_python311_locate}/bin/easy_install-3.11 } %alt_py311_install_wheel() %{expand:\\\ %{alt_python311_dir}/bin/pip3.11 install -I dist/%{1} --root %{buildroot} --no-deps }
[-] macros.alt-python38
[edit]
[-] macros.valgrind-srpm
[edit]
[-] macros.perl-srpm
[edit]
[-] macros.systemtap
[edit]
[-] macros.alt-python312
[edit]
[-] macros.fedora-misc-srpm
[edit]
[-] macros.selinux-policy
[edit]
[-] macros.ldc-srpm
[edit]
[-] macros.forge
[edit]
[-] macros.nodejs-srpm
[edit]
[-] macros.ghc-srpm
[edit]
[-] macros.alt-python313
[edit]
[-] macros.environment-modules
[edit]
[-] macros.python-srpm
[edit]
[-] macros.openblas-srpm
[edit]
[-] macros.firewalld
[edit]
[-] macros.fedora-misc
[edit]
[-] macros.info
[edit]
[-] macros.rust-srpm
[edit]
[-] macros.go-srpm
[edit]
[-] macros.kernel-srpm
[edit]
[-] macros.efi-srpm
[edit]
[+]
..
[-] macros.alt-python39
[edit]
[-] macros.pybytecompile
[edit]
[-] macros.vpath
[edit]
[-] macros.perl
[edit]
[-] macros.scl
[edit]
[-] macros.qt5-qtbase
[edit]
[-] macros.dwz
[edit]
[-] macros.vim
[edit]
[-] macros.python
[edit]
[-] macros.ocaml-srpm
[edit]
[-] macros.alt-python311
[edit]
[-] macros.ruby
[edit]
[-] macros.systemd
[edit]
[-] macros.mono-srpm
[edit]
[-] macros.python2
[edit]
[-] macros.python3
[edit]
[-] macros.alt-python310
[edit]
[-] macros.ldconfig
[edit]