diff --git a/python-Cython.changes b/python-Cython.changes index 843207c..befca02 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -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 diff --git a/python-Cython.spec b/python-Cython.spec index 4ea89bf..343a791 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -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