Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /etc/rpm/ |
Upload File : |
# define these macros in a way which will expand them to correct values even for non-scl-build, assuming 's/python35//' %python35__python3 /opt/rh/rh-python35/root/usr/bin/python3 %python35__python %python35__python3 %python35python3_sitelib %(%{?scl:scl enable rh-python35 '}%{python35__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"%{?scl:'}) %python35python_sitelib %python35python3_sitelib %python35python3_sitearch %(%{?scl:scl enable rh-python35 '}%{python35__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))"%{?scl:'}) %python35python_sitearch %python35python3_sitearch %python35python3_version %(%{?scl:scl enable rh-python35 '}%{python35__python3} -c "import sys; sys.stdout.write(sys.version[:3])"%{?scl:'}) %python35python_version %python35python3_version # these macros won't be needed if doing non-scl build, so define them in a way that won't overwrite system ones %python35_os_install_post \ /usr/lib/rpm/brp-scl-compress %{_scl_root} \ %{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip} \ /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \ } \ /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \ %{!?_turn_off_bytecompile:scl enable rh-python35 '/usr/lib/rpm/redhat/brp-python-bytecompile-with-scl-python-35 %python35__python3 %{?_python_bytecompile_errors_terminate_build} %{_scl_root}'} \ /usr/lib/rpm/redhat/brp-python-hardlink %_python_bytecompile_errors_terminate_build 1