On Tue, Feb 16, 2010 at 05:23:44AM +0300, Yuri N. Sedunov wrote: > В Втр, 16/02/2010 в 04:27 +0300, Dmitry V. Levin пишет: > > On Tue, Feb 16, 2010 at 04:12:45AM +0300, Girar Builder robot wrote: > > > http://git.altlinux.org/tasks/20176/task/log > > > > > > 2010-Feb-16 04:12:01 :: task #20176 for sisyphus started: > > > #1 build postr-0.12.4-alt1.src.rpm > > > 2010-Feb-16 04:12:02 :: [x86_64] postr-0.12.4-alt1.src.rpm: build start > > > 2010-Feb-16 04:12:02 :: [i586] postr-0.12.4-alt1.src.rpm: build start > > > 2010-Feb-16 04:12:35 :: [x86_64] postr-0.12.4-alt1.src.rpm: build OK > > > 2010-Feb-16 04:12:45 :: [i586] postr-0.12.4-alt1.src.rpm: build OK > > > --- postr-data-0.12.4-alt1.noarch.rpm.i586 2010-02-16 04:12:45 +0300 > > > +++ postr-data-0.12.4-alt1.noarch.rpm.x86_64 2010-02-16 04:12:45 +0300 > > > @@ -5,45 +5,30 @@ > > > /usr/lib/python2.6/site-packages/postr/AboutDialog.pyc > > > -/usr/lib/python2.6/site-packages/postr/AboutDialog.pyo > > > > А куда девались *.pyo на x86_64? > > Загадочное явление. Пришлось добавить: > %add_python_compile_include %python_sitelibdir_noarch/postr А, тогда всё понятно: $ rpm --showrc |fgrep -w _python_compile_include -14: _python_compile_include %_target_libdir -14: add_python_compile_include %global _python_compile_include %_python_compile_include %* т.е. оно обрабатывает только %_target_libdir, а содержимое %_target_libdir_noarch (в случае когда оно отличается от %_target_libdir), остаётся в стороне. Стало быть, надо исправить дефолтное значение %_python_compile_include таким образом, чтобы оно включало в себя %_target_libdir_noarch, если %_target_libdir_noarch != %_target_libdir. -- ldv