403Webshell
Server IP : 66.29.132.122  /  Your IP : 18.191.107.209
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/usr/lib/rpm/macros.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/usr/lib/rpm/macros.d/macros.alt-python310
%__alt_python310 /opt/alt/python310/bin/python3
%alt_python310_sitelib %(%{__alt_python310} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%alt_python310_sitearch %(%{__alt_python310} -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib(True))")
%alt_python310_version %(%{__alt_python310} -Ic "import sys; sys.stdout.write(sys.version[:3])")
%alt_python310_version_nodots %(%{__alt_python310} -Ic "import sys; sys.stdout.write(sys.version[:3].replace('.',''))")
%alt_py310dir %{_builddir}/python3-%{name}-%{version}-%{release}
%alt_python310_dir /opt/alt/python310
%py_setup setup.py
%alt_py310_shbang_opts -s
%alt_py310_shbang_opts_nodash %(opts=%{alt_py310_shbang_opts}; echo ${opts#-})

# Use the slashes after expand so that the command starts on the same line as
# the macro
%alt_py310_build() %{expand:\\\
  CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
  %{__alt_python310} %{py_setup} %{?py_setup_args} build --executable="%{__alt_python310} %{alt_py310_shbang_opts}" %{?*}
}

%alt_py310_build_egg() %{expand:\\\
  CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
  %{__alt_python310} %{py_setup} %{?py_setup_args} bdist_egg %{?*}
}

%alt_py310_build_wheel() %{expand:\\\
  CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
  %{__alt_python310} %{py_setup} %{?py_setup_args} bdist_wheel %{?*}
}

%alt_py310_install() %{expand:\\\
  CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
  %{__alt_python310} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?*}
}

%alt_py310_install_egg() %{expand:\\\
  mkdir -p %{buildroot}%{alt_python310_sitelib}
  %alt_easy_install-3.9 -m --prefix %{buildroot}%{_prefix} -Z dist/*-py3.9.egg %{?*}
  %{alt_python310_dir}/bin/easy_install-3.9 %{alt_python310_locate}/bin/easy_install-3.9
}

%alt_py310_install_wheel() %{expand:\\\
  %{alt_python310_dir}/bin/pip3.9 install -I dist/%{1} --root %{buildroot} --no-deps
}


Youez - 2016 - github.com/yon3zu
LinuXploit