On 2015-12-17 21:34, Jan Palus wrote:
Regarding migration to new %py_* macros -- is there a way to define
setup.py options instead of "action" options? For example how to
correctly migrate following invocation:
%{__python} setup.py \
--no-compile-schemas \
--no-update-icon-cache \
install \
--optimize=2 \
--root=$RPM_BUILD_ROOT
to be more specific -- how to pass --no-* options?
There is probably no way – in such rare cases you need to expand the
%py_build and/or %py_install macro by hand and put the needed options there.
BTW those '--no-compile-schemas' and '--no-update-icon-cache' are not
standard distutils/setuptools options. We cannot handle anything called
'setup.py' with our %py_* macros, like our '%configure' macro usually
doesn't work with 'configure' scripts made by hand and not with autoconf.
Jacek
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en