Hello community, here is the log from the commit of package python-calmjs for openSUSE:Factory checked in at 2020-01-20 22:54:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-calmjs (Old) and /work/SRC/openSUSE:Factory/.python-calmjs.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-calmjs" Mon Jan 20 22:54:14 2020 rev:2 rq:765716 version:3.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-calmjs/python-calmjs.changes 2020-01-07 23:54:27.860065909 +0100 +++ /work/SRC/openSUSE:Factory/.python-calmjs.new.26092/python-calmjs.changes 2020-01-20 22:54:19.899317824 +0100 @@ -1,0 +2,6 @@ +Tue Jan 14 15:04:12 UTC 2020 - pgaj...@suse.com + +- fix build in SLE-15: set en_US.UTF-8 encoding +- %check the package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-calmjs.spec ++++++ --- /var/tmp/diff_new_pack.ZMf82t/_old 2020-01-20 22:54:21.175318315 +0100 +++ /var/tmp/diff_new_pack.ZMf82t/_new 2020-01-20 22:54:21.179318316 +0100 @@ -34,6 +34,10 @@ Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: nodejs-common +# /SECTION %python_subpackages %description @@ -48,9 +52,11 @@ rm src/calmjs/tests/test_yarn.py %build +export LANG=en_US.UTF-8 %python_build %install +export LANG=en_US.UTF-8 %python_install %python_clone -a %{buildroot}%{_bindir}/calmjs %python_expand rm -r %{buildroot}%{$python_sitelib}/calmjs/testing @@ -58,14 +64,10 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -#export LANG=en_US.UTF8 -#%%{python_expand #first link the stuff for the weird layout -#ln -s %{$python_sitelib}/calmjs/types src/calmjs/ -#ln -s %{$python_sitelib}/calmjs/parse src/calmjs/ -#pushd src -#$python -m unittest calmjs.tests.make_suite -v -#popd -#} +export LANG=en_US.UTF-8 +pushd src +%pytest -k 'not (test_setup_egg_info or test_build_calmjs_artifact)' +popd %post %python_install_alternative calmjs