forked from pool/python-nose2
- Add dep on coverage as it is hard requirement based on requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
bf9ebaf7b3
commit
78d0c4c626
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 30 13:20:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Add dep on coverage as it is hard requirement based on requires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 14 17:02:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Tue May 14 17:02:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -27,16 +27,16 @@ URL: https://github.com/nose-devs/nose2
|
|||||||
Source: https://files.pythonhosted.org/packages/source/n/nose2/nose2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/n/nose2/nose2-%{version}.tar.gz
|
||||||
Patch0: remove_unittest2.patch
|
Patch0: remove_unittest2.patch
|
||||||
Patch1: fix-mock-dep.patch
|
Patch1: fix-mock-dep.patch
|
||||||
BuildRequires: %{python_module cov-core >= 1.12}
|
BuildRequires: %{python_module coverage >= 4.4.1}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six >= 1.1}
|
BuildRequires: %{python_module six >= 1.1}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-coverage >= 4.4.1
|
||||||
Requires: python-six >= 1.1
|
Requires: python-six >= 1.1
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Suggests: python-cov-core >= 1.12
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -52,6 +52,7 @@ is to be done through config files, not command-line options.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n nose2-%{version}
|
%setup -q -n nose2-%{version}
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
rm -rf *.egg-info/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Reference in New Issue
Block a user