forked from pool/python-calmjs.parse
- Generated tables should get correct *.pyc files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs.parse?expand=0&rev=12
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user