From 62b419aef2d4fa1add3412aada1c33660bc92062b75bf36a1e2985d12638e9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Jun 2019 14:25:10 +0000 Subject: [PATCH] Accepting request 707177 from home:pgajdos - run the testsuite, run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/707177 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toolz?expand=0&rev=16 --- python-toolz.changes | 5 +++++ python-toolz.spec | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) 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/