From 460ce82144cd6c804111854f7754e8846f2a5e95470710714a0593171dc67b82 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 3 May 2018 15:08:34 +0000 Subject: [PATCH] Accepting request 603712 from home:TheBlackCat:branches:devel:languages:python - Add license file - Use %license tag OBS-URL: https://build.opensuse.org/request/show/603712 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multipledispatch?expand=0&rev=2 --- LICENSE.txt | 28 ++++++++++++++++++++++++++++ python-multipledispatch.changes | 6 ++++++ python-multipledispatch.spec | 3 +++ 3 files changed, 37 insertions(+) create mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..0afb04a --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,28 @@ +Copyright (c) 2014 Matthew Rocklin + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + c. Neither the name of multipledispatch nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. diff --git a/python-multipledispatch.changes b/python-multipledispatch.changes index 35deb46..fb0571b 100644 --- a/python-multipledispatch.changes +++ b/python-multipledispatch.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 3 14:07:08 UTC 2018 - toddrme2178@gmail.com + +- Add license file +- Use %license tag + ------------------------------------------------------------------- Sun Mar 11 00:20:30 UTC 2018 - arun@gmx.de diff --git a/python-multipledispatch.spec b/python-multipledispatch.spec index 7728026..7ca9a95 100644 --- a/python-multipledispatch.spec +++ b/python-multipledispatch.spec @@ -25,6 +25,7 @@ License: BSD-3-Clause Group: Development/Languages/Python Url: http://github.com/mrocklin/multipledispatch/ Source: https://files.pythonhosted.org/packages/source/m/multipledispatch/multipledispatch-%{version}.tar.gz +Source10: https://raw.githubusercontent.com/mrocklin/multipledispatch/%{version}/LICENSE.txt BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -42,6 +43,7 @@ support. It looks good too. %prep %setup -q -n multipledispatch-%{version} +cp %{SOURCE10} . %build %python_build @@ -53,6 +55,7 @@ support. It looks good too. %files %{python_files} %defattr(-,root,root,-) %doc README.rst +%license LICENSE.txt %{python_sitelib}/* %changelog