Accepting request 327453 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/327453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=28
This commit is contained in:
Stephan Kulow 2015-08-29 18:02:08 +00:00 committed by Git OBS Bridge
commit 5433779bba
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Aug 26 17:11:12 UTC 2015 - ted.nokonechny@uregina.ca
- "mangle" tests/run/cpdef_extern_func.pyx to allow package to build
for SLE_11_SP3 and SLE_11_SP4.
* cpdef const char* strchr(const char *haystack, int needle);
does not seem to match any from /usr/include/string.h
and fails for cpp tests via python runtests.py -vv
* cpdef_extern_func.pyx was not present in 0.21.1
-------------------------------------------------------------------
Wed Aug 19 15:23:19 UTC 2015 - bwiedemann@suse.com

View File

@ -92,6 +92,12 @@ if [ $1 -eq 0 ] ; then
fi
%check
%if 0%{?suse_version} && 0%{?suse_version} <= 1140
sed -i.SLES11.SP4.bak -e 's/const char/char/' ./tests/run/cpdef_extern_func.pyx
#mv ./tests/run/cpdef_extern_func.pxd ./tests/run/cpdef_extern_func.pxd.TNT.txt
#mv ./tests/run/cpdef_extern_func.pyx ./tests/run/cpdef_extern_func.pyx.TNT.txt
#sleep 60
%endif
python runtests.py -vv
%files