[devel] I: rpm-build-python3

Dmitry V. Levin ldv на altlinux.org
Пт Фев 15 20:28:42 MSK 2013


On Fri, Feb 15, 2013 at 05:07:45PM +0100, Vitaly Kuznetsov wrote:
[...]
> Нужно добиться того, чтобы обработка 
> велась свежесобранным 3.3.

Тогда возникает закономерный вопрос к автору rpm-build-python3:

$ diff -u rpm-build-python/rpm-build-python/python.prov rpm-build-python3/rpm-build-python3/python3.prov
--- rpm-build-python/rpm-build-python/python.prov	2007-09-24 14:14:13.000000000 +0400
+++ rpm-build-python3/rpm-build-python3/python3.prov	2011-12-20 18:42:25.000000000 +0400
@@ -1,2 +1,2 @@
 #!/bin/sh
-LC_ALL=C exec "${RPM_PYTHON:-/usr/bin/python}" "$0".py ${1+"$@"}
+LC_ALL=C exec "/usr/bin/python3" "$0".py ${1+"$@"}
$ diff -u rpm-build-python/rpm-build-python/python.req rpm-build-python3/rpm-build-python3/python3.req
--- rpm-build-python/rpm-build-python/python.req	2007-09-24 14:14:13.000000000 +0400
+++ rpm-build-python3/rpm-build-python3/python3.req	2011-12-20 18:42:25.000000000 +0400
@@ -1,2 +1,2 @@
 #!/bin/sh
-LC_ALL=C exec "${RPM_PYTHON:-/usr/bin/python}" "$0".py ${1+"$@"}
+LC_ALL=C exec "/usr/bin/python3" "$0".py ${1+"$@"}
$ diff -u rpm-build-python/rpm-build-python/python.env rpm-build-python3/rpm-build-python3/python3.env 
--- rpm-build-python/rpm-build-python/python.env	2007-03-19 13:39:34.000000000 +0300
+++ rpm-build-python3/rpm-build-python3/python3.env	2012-03-22 15:49:49.000000000 +0400
@@ -1,12 +1,12 @@
-%{?_python_lib_path:export RPM_PYTHON_LIB_PATH="%_python_lib_path"}
-%{?_python_module_declared:export RPM_PYTHON_MODULE_DECLARED="%_python_module_declared"}
-%{?_python_req_hier:export RPM_PYTHON_REQ_HIER="%_python_req_hier"}
-%{?_python_req_method:export RPM_PYTHON_REQ_METHOD="%_python_req_method"}
-%{?_python_req_skip:export RPM_PYTHON_REQ_SKIP="%_python_req_skip"}
-%{?_python_compile_method:export RPM_PYTHON_COMPILE_METHOD="%_python_compile_method"}
-%{?_python_compile_exclude:export RPM_PYTHON_COMPILE_EXCLUDE="%_python_compile_exclude"}
-%{?_python_compile_include:export RPM_PYTHON_COMPILE_INCLUDE="%_python_compile_include"}
-%{?_python_compile_deep:export RPM_PYTHON_COMPILE_DEEP="%_python_compile_deep"}
-%{?_python_compile_skip_x:export RPM_PYTHON_COMPILE_SKIP_X="%_python_compile_skip_x"}
-%{?_python_compile_clean:export RPM_PYTHON_COMPILE_CLEAN="%_python_compile_clean"}
-%{?__python:export RPM_PYTHON="%__python"}
+%{?_python3_version:export RPM_PYTHON3_VERSION="%_python3_version"}
+%{?_python3_path:export RPM_PYTHON3_PATH="%_python3_path"}
+%{?_python3_lib_path:export RPM_PYTHON3_LIB_PATH="%_python3_lib_path"}
+%{?_python3_module_declared:export RPM_PYTHON3_MODULE_DECLARED="%_python3_module_declared"}
+%{?_python3_req_hier:export RPM_PYTHON3_REQ_HIER="%_python3_req_hier"}
+%{?_python3_req_method:export RPM_PYTHON3_REQ_METHOD="%_python3_req_method"}
+%{?_python3_req_skip:export RPM_PYTHON3_REQ_SKIP="%_python3_req_skip"}
+%{?_python3_compile_exclude:export RPM_PYTHON3_COMPILE_EXCLUDE="%_python3_compile_exclude"}
+%{?_python3_compile_include:export RPM_PYTHON3_COMPILE_INCLUDE="%_python3_compile_include"}
+%{?_python3_compile_deep:export RPM_PYTHON3_COMPILE_DEEP="%_python3_compile_deep"}
+%{?_python3_compile_skip_x:export RPM_PYTHON3_COMPILE_SKIP_X="%_python3_compile_skip_x"}
+%{?_python3_compile_clean:export RPM_PYTHON3_COMPILE_CLEAN="%_python3_compile_clean"}


-- 
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 198 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20130215/3f721fb6/attachment.bin>


Подробная информация о списке рассылки Devel