15
0

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
This commit is contained in:
Todd R
2018-05-03 15:08:32 +00:00
committed by Git OBS Bridge
parent c3ba8e1f39
commit 1696a94b1e
3 changed files with 40 additions and 0 deletions

29
LICENSE Normal file
View File

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

View File

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

View File

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