forked from pool/python-humanize
Accepting request 707772 from home:pgajdos
- test package in %check OBS-URL: https://build.opensuse.org/request/show/707772 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanize?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
ff48e71f21
commit
516fa684e6
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-humanize
|
||||
#
|
||||
# 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
|
||||
@@ -25,10 +25,13 @@ Summary: Python humanize utilities
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://github.com/jmoiron/humanize
|
||||
Source: https://files.pythonhosted.org/packages/source/h/humanize/%{modname}-%{version}.tar.gz
|
||||
Source: https://github.com/jmoiron/humanize/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mock}
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -47,6 +50,9 @@ readable size or throughput.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand $python setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENCE
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user