From 9d7480ac14d85f140604c45fbc115df1ca70e23d571c634e1010753c3e108edb Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 8 Dec 2015 08:48:06 +0000 Subject: [PATCH] - Install license OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytools?expand=0&rev=6 --- LICENSE.mit | 21 +++++++++++++++++++++ python-pytools.changes | 5 +++++ python-pytools.spec | 6 ++++-- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 LICENSE.mit diff --git a/LICENSE.mit b/LICENSE.mit new file mode 100644 index 0000000..174b947 --- /dev/null +++ b/LICENSE.mit @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Andreas Kloeckner + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/python-pytools.changes b/python-pytools.changes index 5cfd973..2d7d277 100644 --- a/python-pytools.changes +++ b/python-pytools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 8 08:45:17 UTC 2015 - mpluskal@suse.com + +- Install license + ------------------------------------------------------------------- Mon Dec 7 16:31:47 UTC 2015 - mpluskal@suse.com diff --git a/python-pytools.spec b/python-pytools.spec index 716831c..6ac4340 100644 --- a/python-pytools.spec +++ b/python-pytools.spec @@ -23,7 +23,8 @@ Summary: A collection of tools for Python License: MIT Group: Development/Languages/Python Url: http://pypi.python.org/pypi/pytools -Source: http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz +Source0: http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz +Source1: LICENSE.mit BuildRequires: python-appdirs BuildRequires: python-decorator BuildRequires: python-devel @@ -52,6 +53,7 @@ nonetheless, here's what's on offer: %prep %setup -q -n pytools-%{version} +cp %{SOURCE1} . %build python setup.py build @@ -64,7 +66,7 @@ python setup.py test %files %defattr(-,root,root,-) -%doc README +%doc README LICENSE.mit %{python_sitelib}/* %changelog