From 1ea3d8883fa1bb1dda35b2e4c8f916258fff86011d861cb448a142933dfeb1fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 11 Mar 2018 08:46:49 +0000 Subject: [PATCH] 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 --- python-toolz.changes | 5 +++++ python-toolz.spec | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-toolz.changes b/python-toolz.changes index 5282908..71e689c 100644 --- a/python-toolz.changes +++ b/python-toolz.changes @@ -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 diff --git a/python-toolz.spec b/python-toolz.spec index 323fe2c..59b5366 100644 --- a/python-toolz.spec +++ b/python-toolz.spec @@ -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/