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
This commit is contained in:
Tomáš Chvátal 2019-06-03 14:25:10 +00:00 committed by Git OBS Bridge
parent 9288012356
commit 62b419aef2
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 3 13:18:07 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- run the testsuite, run spec-cleaner
-------------------------------------------------------------------
Tue Dec 4 12:55:23 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -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/