From 1696a94b1e5b5c82ba526cb2e5aa08858a3c85da984c65ef6cc23f4e7beb1166 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 3 May 2018 15:08:32 +0000 Subject: [PATCH] Accepting request 603710 from home:TheBlackCat:branches:devel:languages:python - Add license file - Package readme file - Use %license tag OBS-URL: https://build.opensuse.org/request/show/603710 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-boltons?expand=0&rev=2 --- LICENSE | 29 +++++++++++++++++++++++++++++ python-boltons.changes | 7 +++++++ python-boltons.spec | 4 ++++ 3 files changed, 40 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9322ae3 --- /dev/null +++ b/LICENSE @@ -0,0 +1,29 @@ +Copyright (c) 2013, Mahmoud Hashemi + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * 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. + + * The names of the contributors may not 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 COPYRIGHT +OWNER 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-boltons.changes b/python-boltons.changes index 63462c1..d72aceb 100644 --- a/python-boltons.changes +++ b/python-boltons.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu May 3 14:07:08 UTC 2018 - toddrme2178@gmail.com + +- Add license file +- Package readme file +- Use %license tag + ------------------------------------------------------------------- Thu May 3 07:16:06 UTC 2018 - toddrme2178@gmail.com diff --git a/python-boltons.spec b/python-boltons.spec index ab44747..b4eb795 100644 --- a/python-boltons.spec +++ b/python-boltons.spec @@ -25,6 +25,7 @@ License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/mahmoud/boltons Source: https://files.pythonhosted.org/packages/source/b/boltons/boltons-%{version}.tar.gz +Source10: https://raw.githubusercontent.com/mahmoud/boltons/%{version}/LICENSE BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} @@ -46,6 +47,7 @@ the Docs: http://boltons.readthedocs.org. %prep %setup -q -n boltons-%{version} +cp %{SOURCE10} . %build %python_build @@ -56,6 +58,8 @@ the Docs: http://boltons.readthedocs.org. %files %{python_files} %defattr(-,root,root,-) +%license LICENSE +%doc README.md %{python_sitelib}/* %changelog