forked from pool/python-cooldict
- Update to 1.04:
* include license * python3 compat - Drop merged cooldict_python3.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cooldict?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
64eb73cb26
commit
c44e4db7f5
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-cooldict
|
||||
#
|
||||
# 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,15 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cooldict
|
||||
Version: 1.02
|
||||
Version: 1.04
|
||||
Release: 0
|
||||
Summary: dict-like structures for Python
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
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: %{python_module ana >= 0.1}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -45,8 +43,6 @@ cooldict provides some dict-like structures for Python, such as
|
||||
|
||||
%prep
|
||||
%setup -q -n cooldict-%{version}
|
||||
%patch1 -p1
|
||||
[ -e LICENSE ] || cp %{SOURCE1} LICENSE
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -55,8 +51,13 @@ cooldict provides some dict-like structures for Python, such as
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Well there is a test, but it does not work even on the git, so skip for now
|
||||
#%python_exec cooldict.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user