%__python2 /usr/bin/python2 %python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") %python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))") %python2_version %(%{__python2} -c "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))") %python2_version_nodots %(%{__python2} -c "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="%{optflags}" %{__python2} %{py_setup} %{?py_setup_args} build --executable="%{__python2} %{py2_shbang_opts}" %{?*} sleep 1 } %py2_build_egg() %{expand:\\\ CFLAGS="%{optflags}" %{__python2} %{py_setup} %{?py_setup_args} bdist_egg %{?*} sleep 1 } %py2_build_wheel() %{expand:\\\ CFLAGS="%{optflags}" %{__python2} %{py_setup} %{?py_setup_args} bdist_wheel %{?*} sleep 1 } %py2_install() %{expand:\\\ CFLAGS="%{optflags}" %{__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 }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
macros.dist | File | 66 B | 0644 |
|
macros.dwz | File | 1.76 KB | 0644 |
|
macros.ea-php56-config | File | 714 B | 0644 |
|
macros.ea-php56-php | File | 436 B | 0644 |
|
macros.ea-php70-config | File | 714 B | 0644 |
|
macros.ea-php70-php | File | 436 B | 0644 |
|
macros.ea-php73-config | File | 714 B | 0644 |
|
macros.ea-php73-php | File | 436 B | 0644 |
|
macros.ea-php74-config | File | 714 B | 0644 |
|
macros.ea-php74-php | File | 436 B | 0644 |
|
macros.ea-php80-config | File | 714 B | 0644 |
|
macros.ea-php80-php | File | 436 B | 0644 |
|
macros.ea-php81-config | File | 714 B | 0644 |
|
macros.ea-php81-php | File | 436 B | 0644 |
|
macros.ghc-srpm | File | 215 B | 0644 |
|
macros.gnat-srpm | File | 227 B | 0644 |
|
macros.mono-srpm | File | 121 B | 0644 |
|
macros.nodejs-srpm | File | 228 B | 0644 |
|
macros.ocaml-srpm | File | 115 B | 0644 |
|
macros.perl | File | 5.01 KB | 0644 |
|
macros.perl-srpm | File | 794 B | 0644 |
|
macros.pybytecompile | File | 886 B | 0644 |
|
macros.python | File | 3.27 KB | 0644 |
|
macros.python-srpm | File | 3.75 KB | 0644 |
|
macros.python2 | File | 1.46 KB | 0644 |
|
macros.scl | File | 12.74 KB | 0644 |
|