14 Mar
2012
14 Mar
'12
14:50
On Wed, 14 Mar 2012 21:43:10 +0800 Marguerite Su wrote:
At first I try to fix it by running "python -m compileall *.pyc", but recently OBS import a new rule which will check if you have buildroot in your *.pyc file. I then "fix" a warning to an 10000 error. That's too bad.
You need to cd to buildroot first. pushd %{buildroot}%{python_sitearch} %py_compile . popd -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org