diff --git a/python-CommonMark.changes b/python-CommonMark.changes index 3d382ee..f74d098 100644 --- a/python-CommonMark.changes +++ b/python-CommonMark.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 8 08:56:01 UTC 2021 - Hui-Zhi Zhao + +- Remove test on python2 since it only works with python3 + ------------------------------------------------------------------- Thu Sep 2 11:27:12 UTC 2021 - pgajdos@suse.com diff --git a/python-CommonMark.spec b/python-CommonMark.spec index a92a9fa..716cc7b 100644 --- a/python-CommonMark.spec +++ b/python-CommonMark.spec @@ -65,9 +65,11 @@ CommonMark specification, using only native modules. %check export LANG=en_US.UTF-8 +%if "%{python_flavor}" == "python3" %pyunittest commonmark/tests/*.py # On python2 we error out on unicode issues PYTHONPATH=%{buildroot}%{python3_sitelib} python3 commonmark/tests/run_spec_tests.py +%endif %post %python_install_alternative cmark