Hello community, here is the log from the commit of package python-cluster for openSUSE:Factory checked in at 2018-06-20 15:37:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cluster (Old) and /work/SRC/openSUSE:Factory/.python-cluster.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-cluster" Wed Jun 20 15:37:32 2018 rev:2 rq:618015 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cluster/python-cluster.changes 2018-05-29 10:29:04.247604241 +0200 +++ /work/SRC/openSUSE:Factory/.python-cluster.new/python-cluster.changes 2018-06-20 15:37:37.260436705 +0200 @@ -1,0 +2,5 @@ +Wed Jun 20 11:10:58 UTC 2018 - tchvatal@suse.com + +- Switch from wheel to normal distri packaging bsc#1094323 + +------------------------------------------------------------------- Old: ---- LICENSE cluster-1.4.1-py2.py3-none-any.whl New: ---- v1.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cluster.spec ++++++ --- /var/tmp/diff_new_pack.tlk52U/_old 2018-06-20 15:37:38.576388935 +0200 +++ /var/tmp/diff_new_pack.tlk52U/_new 2018-06-20 15:37:38.576388935 +0200 @@ -13,27 +13,26 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cluster Version: 1.4.1 Release: 0 -License: LGPL-2.0+ Summary: Clustering library for python -Url: https://github.com/exhuma/python-cluster +License: LGPL-2.0-or-later Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/py2.py3/c/cluster/cluster-%{version}-py2.py3-none-any.whl -Source10: https://raw.githubusercontent.com/exhuma/python-cluster/v%{version}/LICENSE +URL: https://github.com/exhuma/python-cluster +Source: https://github.com/exhuma/python-cluster/archive/v%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-matplotlib >= 1.2 Requires: python-numpy >= 1.2 Requires: python-scipy >= 0.12 -Requires: python-matplotlib >= 1.2 BuildArch: noarch - %python_subpackages %description @@ -49,14 +48,13 @@ “linkage” (single, complete, average and uclus) methods available. %prep -%setup -c -T -cp %{SOURCE10} . +%setup -q %build -# Not Needed +%python_build %install -%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0} +%python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files}