forked from pool/python-diskcache
- Update to 3.1.1:
* Fix various timeouts * Small fixes around OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-diskcache?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
a9533028a9
commit
7418010dee
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-diskcache
|
||||
#
|
||||
# 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,13 +12,13 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-diskcache
|
||||
Version: 3.0.6
|
||||
Version: 3.1.1
|
||||
Release: 0
|
||||
Summary: Disk and file backed cache
|
||||
License: Apache-2.0
|
||||
@@ -31,7 +31,6 @@ BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# Django1 is not available for python3 in distribution
|
||||
BuildRequires: python2-Django1
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -53,9 +52,9 @@ in pure Python, and compatible with Django.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
python2 %{_bindir}/nosetests
|
||||
nosetests-%{python_bin_suffix}
|
||||
# Django tests support only Django1 which is not in distribution for python3
|
||||
python3 %{_bindir}/nosetests --exclude test_djangocache.py
|
||||
nosetests-%{python3_bin_suffix} --exclude test_djangocache.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user