diff --git a/python-toolz.changes b/python-toolz.changes index c6e3698..858d215 100644 --- a/python-toolz.changes +++ b/python-toolz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 3 13:18:07 UTC 2019 - Petr Gajdos + +- run the testsuite, run spec-cleaner + ------------------------------------------------------------------- Tue Dec 4 12:55:23 UTC 2018 - Matej Cepl diff --git a/python-toolz.spec b/python-toolz.spec index 919699b..31dd049 100644 --- a/python-toolz.spec +++ b/python-toolz.spec @@ -1,7 +1,7 @@ # # spec file for package python-toolz # -# 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 @@ -23,13 +23,15 @@ Release: 0 Summary: List processing tools and functional utilities for python License: BSD-3-Clause Group: Development/Languages/Python -Url: http://github.com/pytoolz/toolz/ +URL: http://github.com/pytoolz/toolz/ Source: https://files.pythonhosted.org/packages/source/t/toolz/toolz-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION %python_subpackages %description @@ -45,8 +47,10 @@ A set of python utility functions for iterators, functions, and dictionaries. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE.txt %{python_sitelib}/toolz/