- run tests only when the appropriate pythons are available
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=101
This commit is contained in:
parent
19573682aa
commit
51efc15d33
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 31 14:24:25 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- run tests only when the appropriate pythons are available
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 18 06:05:54 UTC 2017 - thomas.schraitle@suse.com
|
Mon Sep 18 06:05:54 UTC 2017 - thomas.schraitle@suse.com
|
||||||
|
|
||||||
|
@ -90,8 +90,14 @@ export CFLAGS="%{optflags}"
|
|||||||
# The tests fail on SLE 11 due to broken incremental parsing
|
# The tests fail on SLE 11 due to broken incremental parsing
|
||||||
# in libxml2
|
# in libxml2
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
LANG=en_US.UTF-8 PYTHONUNBUFFERED=x make test
|
export LANG=en_US.UTF-8
|
||||||
LANG=en_US.UTF-8 PYTHONUNBUFFERED=x make test3
|
export PYTHONUNBUFFERED=x
|
||||||
|
%if 0%{?have_python2}
|
||||||
|
make test
|
||||||
|
%endif
|
||||||
|
%if 0%{?have_python3}
|
||||||
|
make test3
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
Loading…
Reference in New Issue
Block a user