diff --git a/python-calmjs.parse.changes b/python-calmjs.parse.changes index 14b998c..fd763f5 100644 --- a/python-calmjs.parse.changes +++ b/python-calmjs.parse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 17 17:52:41 UTC 2021 - Matej Cepl + +- Generated tables should get correct *.pyc files + ------------------------------------------------------------------- Tue Nov 16 15:28:20 UTC 2021 - Matej Cepl diff --git a/python-calmjs.parse.spec b/python-calmjs.parse.spec index 04ec8e9..05ebd86 100644 --- a/python-calmjs.parse.spec +++ b/python-calmjs.parse.spec @@ -43,12 +43,13 @@ ECMAScript; a near feature complete fork of slimit. %build export LANG=en_US.UTF-8 %python_build +%{python_expand PYTHONPATH=build/lib $python -m calmjs.parse.parsers.optimize +# $python -m compileall -j 0 -f build/ +} %install %python_install -%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m calmjs.parse.parsers.optimize -%fdupes %{buildroot}%{$python_sitelib} -} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 @@ -57,6 +58,6 @@ export LANG=en_US.UTF-8 %files %{python_files} %doc README.rst CHANGES.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/calmjs* %changelog