Accepting request 730819 from home:jayvdb:py3only

- Skip the tests for the flavors not being built

OBS-URL: https://build.opensuse.org/request/show/730819
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=56
This commit is contained in:
Tomáš Chvátal 2019-09-16 07:42:21 +00:00 committed by Git OBS Bridge
parent 0298703d0e
commit 19c8e6ac64
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Sep 14 01:50:36 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Skip the tests for the flavors not being built
-------------------------------------------------------------------
Fri Aug 9 09:53:07 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -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}