From 516fa684e67cf7ec1aac2149b8acf30143a2391cfe8c7a456eba71c6ab4b29ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 5 Jun 2019 10:22:41 +0000 Subject: [PATCH] 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 --- 0.5.1.tar.gz | 3 +++ humanize-0.5.1.tar.gz | 3 --- python-humanize.changes | 5 +++++ python-humanize.spec | 10 ++++++++-- 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 0.5.1.tar.gz delete mode 100644 humanize-0.5.1.tar.gz 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