Accepting request 915480 from home:pgajdos:python
- %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/915480 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logutils?expand=0&rev=10
This commit is contained in:
parent
de5ed08cb6
commit
15f77add84
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 1 12:28:43 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pyunittest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 5 19:05:36 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -26,9 +26,11 @@ Group: Development/Languages/Python
|
||||
URL: https://logutils.readthedocs.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/l/logutils/logutils-%{version}.tar.gz
|
||||
Patch0: sphinx4.patch
|
||||
BuildRequires: %{python_module redis}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: redis
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -69,7 +71,8 @@ cd doc && make html
|
||||
%python_install
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
export PATH="$PATH:/sbin"
|
||||
%pyunittest discover -v tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user