diff --git a/python-cooldict.spec b/python-cooldict.spec index 8088fc5..b486e2c 100644 --- a/python-cooldict.spec +++ b/python-cooldict.spec @@ -13,24 +13,25 @@ # 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-cooldict Version: 1.02 Release: 0 -License: BSD-2-Clause Summary: dict-like structures -Url: https://github.com/zardus/cooldict +License: BSD-2-Clause Group: Development/Languages/Python -Source: https://pypi.python.org/packages/9e/81/c82755762a5c17f0011e96f9d2e79dbcb6423cac184b1c49847db7fd2584/cooldict-%{version}.tar.gz +URL: https://github.com/zardus/cooldict +Source: https://files.pythonhosted.org/packages/source/c/cooldict/cooldict-%{version}.tar.gz Source1: https://github.com/zardus/cooldict/raw/master/LICENSE Patch1: cooldict_python3.patch -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module ana >= 0.1} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-ana >= 0.1 BuildArch: noarch