Hello community, here is the log from the commit of package python-MulticoreTSNE for openSUSE:Factory checked in at 2019-03-12 09:54:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-MulticoreTSNE (Old) and /work/SRC/openSUSE:Factory/.python-MulticoreTSNE.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-MulticoreTSNE" Tue Mar 12 09:54:44 2019 rev:2 rq:683877 version:0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-MulticoreTSNE/python-MulticoreTSNE.changes 2018-12-19 13:50:21.483206424 +0100 +++ /work/SRC/openSUSE:Factory/.python-MulticoreTSNE.new.28833/python-MulticoreTSNE.changes 2019-03-12 09:54:49.903521112 +0100 @@ -1,0 +2,7 @@ +Mon Mar 11 12:29:24 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Respect optflags +- Update to 0.1 release: + * no upstream changelog + +------------------------------------------------------------------- Old: ---- MulticoreTSNE-0.0.1.1.zip New: ---- MulticoreTSNE-0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-MulticoreTSNE.spec ++++++ --- /var/tmp/diff_new_pack.Syz69y/_old 2019-03-12 09:54:50.559520982 +0100 +++ /var/tmp/diff_new_pack.Syz69y/_new 2019-03-12 09:54:50.559520982 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-MulticoreTSNE # -# 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 @@ -18,20 +18,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-MulticoreTSNE -Version: 0.0.1.1 +Version: 0.1 Release: 0 Summary: Multicore version of t-SNE algorithm License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/DmitryUlyanov/Multicore-TSNE -Source: https://files.pythonhosted.org/packages/source/M/MulticoreTSNE/MulticoreTSNE-%{version}.zip +Source: https://files.pythonhosted.org/packages/source/M/MulticoreTSNE/MulticoreTSNE-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: c++_compiler BuildRequires: cmake BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: unzip Requires: python-cffi Requires: python-numpy Recommends: python-scikit-learn @@ -51,6 +50,10 @@ %prep %setup -q -n MulticoreTSNE-%{version} +# fix optflags +sed -i \ + -e 's:-O3 -fPIC -ffast-math -funroll-loops:%optflags:' \ + multicore_tsne/CMakeLists.txt %build export CFLAGS="%{optflags}" @@ -63,7 +66,7 @@ %check pushd MulticoreTSNE/tests %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -$python -m unittest discover -v . +$python -m unittest discover -v } popd