diff --git a/0.5.1.tar.gz b/0.5.1.tar.gz new file mode 100644 index 0000000..adc1589 --- /dev/null +++ b/0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3f3ac75e647f75eec48c3950385ab7585c1c1cde2a6c1479c1f58e055a3e868 +size 20507 diff --git a/humanize-0.5.1.tar.gz b/humanize-0.5.1.tar.gz deleted file mode 100644 index 9277971..0000000 --- a/humanize-0.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19 -size 14250 diff --git a/python-humanize.changes b/python-humanize.changes index 7e57a15..8be854c 100644 --- a/python-humanize.changes +++ b/python-humanize.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 5 08:03:04 UTC 2019 - Petr Gajdos + +- test package in %check + ------------------------------------------------------------------- Mon Dec 10 12:37:51 UTC 2018 - Tomáš Chvátal diff --git a/python-humanize.spec b/python-humanize.spec index 98ef554..981615a 100644 --- a/python-humanize.spec +++ b/python-humanize.spec @@ -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