Accepting request 585409 from home:sebix:branches:devel:languages:python

- Use %license macro for license.

OBS-URL: https://build.opensuse.org/request/show/585409
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toolz?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal 2018-03-11 08:46:49 +00:00 committed by Git OBS Bridge
parent 19e2a436c5
commit 1ea3d8883f
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 11 08:41:40 UTC 2018 - sebix+novell.com@sebix.at
- Use %license macro for license.
-------------------------------------------------------------------
Sat Apr 15 11:55:43 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-toolz
#
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -13,21 +13,22 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-toolz
Version: 0.8.2
Release: 0
License: BSD-3-Clause
Summary: List processing tools and functional utilities for python
Url: http://github.com/pytoolz/toolz/
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://github.com/pytoolz/toolz/
Source: https://files.pythonhosted.org/packages/source/t/toolz/toolz-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -47,7 +48,8 @@ A set of python utility functions for iterators, functions, and dictionaries.
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/toolz/
%{python_sitelib}/tlz/
%{python_sitelib}/toolz-%{version}-py*.egg-info/