Hello community, here is the log from the commit of package python-gsw for openSUSE:Factory checked in at 2019-02-24 17:16:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gsw (Old) and /work/SRC/openSUSE:Factory/.python-gsw.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gsw" Sun Feb 24 17:16:03 2019 rev:4 rq:677742 version:3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gsw/python-gsw.changes 2018-07-27 10:58:16.873880698 +0200 +++ /work/SRC/openSUSE:Factory/.python-gsw.new.28833/python-gsw.changes 2019-02-24 17:16:04.104443412 +0100 @@ -1,0 +2,7 @@ +Wed Feb 20 14:27:16 CET 2019 - Matej Cepl <mc...@suse.com> + +- Actually gh#TEOS-10/GSW-Python#40 can be worked around by + adding -ffloat-store to CFLAGS. Which I do now for i586 and + armv7l platforms. + +------------------------------------------------------------------- @@ -5 +12 @@ - (https://github.com/TEOS-10/GSW-Python/issues/40). + (gh#TEOS-10/GSW-Python#40). ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gsw.spec ++++++ --- /var/tmp/diff_new_pack.Ghmr31/_old 2019-02-24 17:16:04.576443329 +0100 +++ /var/tmp/diff_new_pack.Ghmr31/_new 2019-02-24 17:16:04.576443329 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-gsw # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -32,7 +32,7 @@ Group: Development/Languages/Python URL: https://github.com/TEOS-10/GSW-python Source0: https://files.pythonhosted.org/packages/source/g/gsw/gsw-%{version}.tar.gz -# https://github.com/TEOS-10/GSW-Python/issues/39 +# gh#TEOS-10/GSW-Python#39 Source1: tests.tar.gz BuildRequires: %{python_module devel >= 3.5} BuildRequires: %{python_module numpy-devel} @@ -53,17 +53,21 @@ tar xf %{SOURCE1} %build -export CFLAGS="%{optflags}" +CFLAGS="%{optflags}" +%ifarch i586 armv7l +CFLAGS="$CFLAGS -ffloat-store" +%endif +export CFLAGS %python_build %install %python_install %{python_expand %fdupes %{buildroot}%{$python_sitearch}} -# https://github.com/TEOS-10/GSW-Python/issues/40 +# gh#TEOS-10/GSW-Python#40 %check %{python_expand export PYTHONPATH=%{buildroot}%{python_sitearch} -py.test-%{$python_bin_suffix} -k 'not test_check_function[cfcf71]' +py.test-%{$python_bin_suffix} -v } %files %{python_files}