Hello community, here is the log from the commit of package python-Cython for openSUSE:Factory checked in at 2018-02-25 12:20:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Cython (Old) and /work/SRC/openSUSE:Factory/.python-Cython.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Cython" Sun Feb 25 12:20:57 2018 rev:35 rq:578692 version:0.27.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Cython/python-Cython-doc.changes 2018-02-03 15:37:01.356728440 +0100 +++ /work/SRC/openSUSE:Factory/.python-Cython.new/python-Cython-doc.changes 2018-02-25 12:20:59.098541997 +0100 @@ -1,0 +2,6 @@ +Wed Feb 21 12:51:05 UTC 2018 - tchva...@suse.com + +- Disable tests as they randomly fail while it can't be triggered + when reproducing localy + +------------------------------------------------------------------- @@ -5 +11,3 @@ -- see CHANGES.txt for details + * see CHANGES.txt for details +- Disable abs test wrt upstream issue with new GCC versions: + * https://github.com/cython/cython/issues/1911 --- /work/SRC/openSUSE:Factory/python-Cython/python-Cython.changes 2018-02-03 15:37:02.432678183 +0100 +++ /work/SRC/openSUSE:Factory/.python-Cython.new/python-Cython.changes 2018-02-25 12:21:00.578488395 +0100 @@ -1,0 +2,5 @@ +Tue Feb 20 11:25:47 UTC 2018 - tchva...@suse.com + +- Export fno-strict-aliasing to CFLAGS + +------------------------------------------------------------------- @@ -5,0 +11 @@ +- Also fixes bsc#1062237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Cython-doc.spec ++++++ --- /var/tmp/diff_new_pack.r8MZBf/_old 2018-02-25 12:21:01.966438124 +0100 +++ /var/tmp/diff_new_pack.r8MZBf/_new 2018-02-25 12:21:01.970437979 +0100 @@ -16,30 +16,26 @@ # -%ifarch x86_64 -%bcond_without test -%else -%bcond_with test -%endif - %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Tests currently fail randomly in OBS multiple local rund do not trigger them +%bcond_with test Name: python-Cython-doc Version: 0.27.3 Release: 0 -Url: http://www.cython.org Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 Group: Documentation/Other +Url: http://www.cython.org Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz Source1: python-Cython-rpmlintrc BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx +BuildArch: noarch %if %{with test} BuildRequires: %{python_module Cython = %{version}} BuildRequires: gcc-c++ %endif -BuildArch: noarch %description The Cython language allows for writing C extensions for the Python @@ -55,6 +51,8 @@ %setup -q -n Cython-%{version} # Fix EOL encoding sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} Demos/embed/Makefile.{unix,msc.static} +# Remove tests broken with new gcc +rm -f tests/run/builtin_abs.pyx %build python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo @@ -71,13 +69,8 @@ %endif %files -%defattr(-,root,root,-) -%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 -%license LICENSE.txt -%else -%doc LICENSE.txt -%endif -%doc COPYING.txt README.txt ToDo.txt USAGE.txt +%license LICENSE.txt COPYING.txt +%doc README.txt ToDo.txt USAGE.txt %dir %{_docdir}/python-Cython/ %{_docdir}/python-Cython/html/ ++++++ python-Cython.spec ++++++ --- /var/tmp/diff_new_pack.r8MZBf/_old 2018-02-25 12:21:02.006436676 +0100 +++ /var/tmp/diff_new_pack.r8MZBf/_new 2018-02-25 12:21:02.010436531 +0100 @@ -21,10 +21,10 @@ Name: python-Cython Version: 0.27.3 Release: 0 -Url: http://www.cython.org Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 Group: Development/Languages/Python +Url: http://www.cython.org Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz Source1: python-Cython-rpmlintrc BuildRequires: %{python_module devel} @@ -40,7 +40,6 @@ Provides: %{oldpython}-cython = %{version} Obsoletes: %{oldpython}-cython < %{version} %endif - %python_subpackages %description @@ -59,7 +58,7 @@ sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py %build -export CFLAGS="%{optflags}" +export CFLAGS="%{optflags} -fno-strict-aliasing" %python_build %install @@ -75,7 +74,7 @@ done %{python_expand chmod a+x %{buildroot}%{$python_sitearch}/Cython/Build/Cythonize.py -sed -i "s|^#!/usr/bin/env python$|#!%{__$python}|" %{buildroot}%{$python_sitearch}/Cython/Build/Cythonize.py +sed -i "s|^#!%{_bindir}/env python$|#!%{__$python}|" %{buildroot}%{$python_sitearch}/Cython/Build/Cythonize.py $python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/Cython/Build/ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/Cython/Build/ %fdupes %{buildroot}%{$python_sitearch} @@ -88,12 +87,8 @@ %python_uninstall_alternative cython %files %{python_files} -%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 -%license LICENSE.txt -%else -%doc LICENSE.txt -%endif -%doc COPYING.txt README.txt ToDo.txt USAGE.txt +%license LICENSE.txt COPYING.txt +%doc README.txt ToDo.txt USAGE.txt %python_alternative %{_bindir}/cygdb %python_alternative %{_bindir}/cython %python_alternative %{_bindir}/cythonize