forked from pool/python-Deprecated
Update to 1.2.6:
* Fix #9: Change the project's configuration: reinforce the constraint to the Wrapt requirement. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
30fca70476
commit
37a34078a7
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Deprecated
|
||||
Version: 1.2.5
|
||||
Version: 1.2.6
|
||||
Release: 0
|
||||
Summary: Python @deprecated decorator
|
||||
License: MIT
|
||||
@@ -27,10 +27,10 @@ URL: https://github.com/tantale/deprecated
|
||||
Source: https://files.pythonhosted.org/packages/source/D/Deprecated/Deprecated-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wrapt >= 1}
|
||||
BuildRequires: %{python_module wrapt >= 1.10}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-wrapt >= 1
|
||||
Requires: python-wrapt >= 1.10
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -49,7 +49,7 @@ you can use the ``@deprecated`` decorator.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.rst README.md
|
||||
|
||||
Reference in New Issue
Block a user