diff --git a/python-docutils.changes b/python-docutils.changes index 1e6b33f..b6be5e1 100644 --- a/python-docutils.changes +++ b/python-docutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 14 01:50:36 UTC 2019 - John Vandenberg + +- Skip the tests for the flavors not being built + ------------------------------------------------------------------- Fri Aug 9 09:53:07 UTC 2019 - Marketa Calabkova diff --git a/python-docutils.spec b/python-docutils.spec index b13be9f..77bab34 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -76,8 +76,12 @@ sed -i -e "1d" "docutils/writers/xetex/__init__.py" "docutils/writers/_html_base %python_build # test3 is generated from test during build +%if 0%{?have_python2} && ! 0%{?skip_python2} mv test test%{python2_bin_suffix} +%endif +%if 0%{?have_python3} && ! 0%{?skip_python3} mv test3 test%{python3_bin_suffix} +%endif %install %if !%{with test}