X7ROOT File Manager
Current Path:
/lib/rpm/macros.d
lib
/
rpm
/
macros.d
/
ðŸ“
..
📄
macros.alt-python310
(2.01 KB)
📄
macros.alt-python311
(2.03 KB)
📄
macros.alt-python312
(2.01 KB)
📄
macros.alt-python313
(2.01 KB)
📄
macros.alt-python38
(1.97 KB)
📄
macros.alt-python39
(1.98 KB)
📄
macros.dwz
(1.76 KB)
📄
macros.efi-srpm
(3 KB)
📄
macros.environment-modules
(75 B)
📄
macros.fedora-misc
(2.76 KB)
📄
macros.fedora-misc-srpm
(239 B)
📄
macros.firewalld
(239 B)
📄
macros.forge
(12.43 KB)
📄
macros.ghc-srpm
(414 B)
📄
macros.go-srpm
(7.17 KB)
📄
macros.info
(390 B)
📄
macros.kernel-srpm
(116 B)
📄
macros.ldc-srpm
(73 B)
📄
macros.ldconfig
(307 B)
📄
macros.mono-srpm
(181 B)
📄
macros.nodejs-srpm
(324 B)
📄
macros.ocaml-srpm
(737 B)
📄
macros.openblas-srpm
(104 B)
📄
macros.perl
(5.06 KB)
📄
macros.perl-srpm
(794 B)
📄
macros.pybytecompile
(886 B)
📄
macros.python
(3.36 KB)
📄
macros.python-srpm
(5.95 KB)
📄
macros.python2
(1.82 KB)
📄
macros.python3
(3.63 KB)
📄
macros.qt5-qtbase
(78 B)
📄
macros.ruby
(1001 B)
📄
macros.rust-srpm
(61 B)
📄
macros.scl
(13.53 KB)
📄
macros.selinux-policy
(6.61 KB)
📄
macros.systemd
(4.03 KB)
📄
macros.systemtap
(206 B)
📄
macros.valgrind-srpm
(127 B)
📄
macros.vim
(40 B)
📄
macros.vpath
(228 B)
Editing: macros.python2
%__python2 /usr/bin/python2 %python2_sitelib %(RHEL_ALLOW_PYTHON2_FOR_BUILD=1 %{__python2} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())") %python2_sitearch %(RHEL_ALLOW_PYTHON2_FOR_BUILD=1 %{__python2} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))") %python2_version %(RHEL_ALLOW_PYTHON2_FOR_BUILD=1 %{__python2} -Esc "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))") %python2_version_nodots %(RHEL_ALLOW_PYTHON2_FOR_BUILD=1 %{__python2} -Esc "import sys; sys.stdout.write('{0.major}{0.minor}'.format(sys.version_info))") %py2_shbang_opts -s # Use the slashes after expand so that the command starts on the same line as # the macro %py2_build() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__python2} %{py_setup} %{?py_setup_args} build --executable="%{__python2} %{py2_shbang_opts}" %{?*} sleep 1 } %py2_build_egg() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__python2} %{py_setup} %{?py_setup_args} bdist_egg %{?*} sleep 1 } %py2_build_wheel() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__python2} %{py_setup} %{?py_setup_args} bdist_wheel %{?*} sleep 1 } %py2_install() %{expand:\\\ CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\ %{__python2} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?*} } %py2_install_egg() %{expand:\\\ mkdir -p %{buildroot}%{python2_sitelib} easy_install-%{python2_version} -m --prefix %{buildroot}%{_prefix} -Z dist/*-py%{python2_version}.egg %{?*} } %py2_install_wheel() %{expand:\\\ pip%{python2_version} install -I dist/%{1} --root %{buildroot} --strip-file-prefix %{buildroot} --no-deps }
Upload File
Create Folder